incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lemings" <Eric.Lemi...@roguewave.com>
Subject RE: structure of tuple tests ([Fwd: Re: svn commit: r675044 - in /stdcxx/branches/4.3.x: include/rw/_tuple.h include/tuple tests/utilities/20.tuple.cnstr.cpp tests/utilities/20.tuple.creation.cpp tests/utilities/20.tuple.h tests/utilities/20.tuple.helpers
Date Thu, 17 Jul 2008 16:20:03 GMT
 

> -----Original Message-----
> From: Martin Sebor [mailto:sebor@roguewave.com] 
> Sent: Thursday, July 17, 2008 9:54 AM
> To: dev@stdcxx.apache.org
> Subject: Re: structure of tuple tests ([Fwd: Re: svn commit: 
> r675044 - in /stdcxx/branches/4.3.x: include/rw/_tuple.h 
> include/tuple tests/utilities/20.tuple.cnstr.cpp 
> tests/utilities/20.tuple.creation.cpp 
> tests/utilities/20.tuple.h tests/utilities/20.tuple.helpers
> 
...
> 
> As I mentioned, it's just a prototype. I'm quite certain
> it can (and should) be improved upon. That said, I don't
> know of a generic way to concatenate strings at compile
> time. If you can figure out how, more power to you!

It's possible, but on second thought, it would probably require more
preprocessor magic than its worth to expand the individual string
literal components of a tuple name (or type list) which get concatenated
by the compiler.  Example:

"std::tuple<" "int" ", " "UserDefined" ">"

Brad.

Mime
View raw message