|
Boost : |
From: Roman Yakovenko (roman.yakovenko_at_[hidden])
Date: 2005-01-04 23:44:12
> -----Original Message-----
> From: David Abrahams [mailto:dave_at_[hidden]]
> Sent: Tuesday, January 04, 2005 7:42 PM
> To: boost_at_[hidden]
> 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/vclrfthe__if_existsstatement.asp
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
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk