Boost logo

Boost :

From: Eric Friedman (ebf_at_[hidden])
Date: 2003-09-18 16:21:48


Has there been any progress on providing a common enable_if facility for
Boost? To workaround separete bugs in CodeWarrior and EDG compilers, I've
introduced for Variant yet another implementation of enable_if.

I'd be willing to write an boost/enable_if.hpp header with the requisite
macros (enable_if(_c), disable_if(_c), etc.). I'd thought this was already
happening though.

Thanks,
Eric

P.S. Perhaps even more important is the need for a BOOST_NO_SFINAE defect
macro. Is the attached test suitable?

begin 666 boost_no_sfinae.cxx
M+R\@("A#*2!#;W!Y<FEG:'0_at_17)I8R!&<FEE9&UA;B R,# S+B!097)M:7-S
M:6]N('1O(&-O<'DL('5S92P@;6]D:69Y+"!S96QL(&%N9 T*+R\@(&1I<W1R
M:6)U=&4@=&AI<R!S;V9T=V%R92!I<R!G<F%N=&5D('!R;W9I9&5D('1H:7,@
M8V]P>7)I9VAT(&YO=&EC92!A<'!E87)S#0HO+R @:6X_at_86QL(&-O<&EE<RX@
M5&AI<R!S;V9T=V%R92!I<R!P<F]V:61E9" B87,@:7,B('=I=&AO=70_at_97AP
M<F5S<R!O<B!I;7!L:65D#0HO+R @=V%R<F%N='DL(&%N9"!W:71H(&YO(&-L
M86EM(&%S('1O(&ET<R!S=6ET86)I;&ET>2!F;W(@86YY('!U<G!O<V4N#0H-
M"B\O("!-04-23SH@(" @(" @("!"3T]35%].3U]31DE.044-"B\O("!4251,
M13H@(" @(" @("!31DE.044@*'-U8G-T:71U=&EO;B!F86EL=7)E(&ES(&YO
M="!A;B!E<G)O<BD-"B\O("!$15-#4DE05$E/3CH@("!31DE.044@;F]T('-U
M<'!O<G1E9"X-"@T*#0IN86UE<W!A8V4_at_8F]O<W1?;F]?<V9I;F%E('L-"@T*
M=&5M<&QA=&4@/'1Y<&5N86UE(%0^#0IV;VED(&8Q*%0J*3L-"@T*=&5M<&QA
M=&4@/'1Y<&5N86UE(%0^#0IV;VED(&8Q*%0J+"!T>7!E;F%M92!4.CII;G1?
M*B ](# I#0I[#0I]#0H-"G1E;7!L871E(#QT>7!E;F%M92!4/@T*=F]I9"!F
M,BA4*BD[#0H-"G1E;7!L871E(#QT>7!E;F%M92!4/@T*='EP96YA;64_at_5#HZ
M:6YT7R!F,BA4*BD-"GL-"B @("!R971U<FX@,#L-"GT-"@T*<W1R=6-T('1E
M<W1?= T*>PT*(" @('1Y<&5D968@:6YT(&EN=%\[#0I].PT*#0II;G0@=&5S
M="@I#0I[#0H@("!T97-T7W0J('0@/2 P.PT*(" @9C$H="D[#0H@("!F,BAT
@*3L-"B @(')E='5R;B P.PT*?0T*#0I]#0H-"@T*#0H`
`
end


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk