RE: [boost] Re: Portable alternative for VS.NET __if_exists

-----Original Message----- From: David Abrahams [mailto:dave@boost-consulting.com] Sent: Tuesday, January 04, 2005 7:42 PM To: boost@lists.boost.org Subject: [boost] Re: Portable alternative for VS.NET __if_exists
Mårten Rånge wrote:
I’m looking for a portable version of __if_exists (VS.NET keyword) and unfortunately google turned up nothing good.
I use boost fairly regular and checked boost::type_traits but found nothing that seemed to similar.
Has anyone heard of something that can accomplish this?
It might help if you described what it does.
full explanation: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html... short explanation: __if_exists allows you to conditionally include code depending on whether the specified symbol exists. __if_exist ( variable ) { statements } where: variable The symbol whose existence you want to test for. statements One or more statements to execute if variable exists.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (1)
-
Roman Yakovenko