Re: [Algorithms] Complexity of new hardware
Brought to you by:
vexxed72
|
From: Nicholas \Indy\ R. <ar...@gm...> - 2009-04-17 06:05:07
|
On Thu, Apr 16, 2009 at 10:21 PM, Jon Watte <jw...@gm...> wrote: > A high-performance compile-time and run-time > introspection feature in C++ would be great; especially if it could be > integrated with templates! The compiler already has all the information; > the standards people just don't want to add the necessary accessors to > class type_info :-( Sure, the Data exists, but it is in *very* different formats between compilers (compare even open source C language front ends you'll see huge variances in data formats). And if you're familiar with how complicated the C++ spec is, you'd know that there is *way* too much information to ever get compiler introspection of in a standard sort of way. If you don't need something portable or standard, look into a gcc extension such as dehydra for gcc. Then again, if you don't need something standard it'd be trivial to generate c++ declarations through a custom preprocessor. Nicholas "Indy" Ray |