Implementation of string-literal as template parameter

2008-04-15 Thread Piotr Rak
nted to ask: 1) Is it expected to be hard to implement? (which I rather dont expect to be, but better ask :-) 2) Any hints, how/where should I start? Thanks in advance for any feedback. Piotr Rak

Re: How to extend lanuage C in GCC ?

2008-10-22 Thread Piotr Rak
2008/10/22 Dong Phuong <[EMAIL PROTECTED]>: > > I'm porting for a microcontroller. And now I want to > add some features to the current language C int GCC > (for example some directives such as near, far , > ). SO could you please tell me how I can do that > ? Hi, I am not sure if it is solve

Variadic template function full specialization.

2008-11-17 Thread Piotr Rak
Hello all, Following (bit weird ;-) code shows weird case of variadic template function specialization, however I am not sure it is legal, (atleast I haven't found any wording that would prevent such use): enum SelectFoo {S1, S2, S3}; struct A { template void foo (Args_...); }; template <>

Re: Variadic template function full specialization.

2008-11-19 Thread Piotr Rak
2008/11/19 Ben Elliston <[EMAIL PROTECTED]>: >> Following (bit weird ;-) code shows weird case of variadic template >> function specialization, however I am not sure it is legal, (atleast I >> haven't found any wording that would prevent such use): > > This list is not really the place to discuss l

Re: optimization question: mpl

2010-07-28 Thread Piotr Rak
Hi, 2010/7/28 Hite, Christopher : >> Generally without knowing the compiler version you are using >> it is hard to tell. > I'll use whatever's best.  Right now I'm still on 4.4.3.  I'll probably > upgrade soon to 4.5. > >> The same is true without a complete compilable testcase. > I didn't want to