This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: g++ compile time calculations
- From: "Wesley Smith" <wesley dot hoke at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 22 Feb 2007 09:01:30 -0800
- Subject: Re: g++ compile time calculations
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GqwLIl11m/SnMalZpM3kMP3P7ETZXR+4tNy0h2b1LFHI6Psvc7BMzO++ex7yoGzxYq7TrWJ0syYADEs45PyOoQT9SeAYPaczAYNG7MrE1lJWp2qlb3ghdjoy8VPbknju9ZJY6obbYYWz1ZoRT4hSEYmnhZ73a/iSHHtWYMcidaE=
- References: <1079b050702212354w495088b6we84cd9acdb7e40dc@mail.gmail.com> <45DD98C1.4090905@informatik.uni-erlangen.de>
Is it actually possible to process the characters of a string during
the C++ compilation process or is this something that is impossible
due to the C++ spec? I'm startign to think it isn't possible at all
and that only number types like the famous Factorial template can be
handled this way. What document could I look in to find this out?
thanks,
wes