Boost logo

Boost :

From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2003-01-08 14:29:51


David B. Held wrote:

> "Terje Slettebø" <tslettebo_at_[hidden]> wrote in message
> news:05ab01c2b695$2f125c70$cb6c6f50_at_pc...
> > Sure, that would be fine. I'm not that familiar with
> Boost.PP, though,
> > so I think I leave it to someone else to write that
> version. As quite a
> > bit of code uses yes_type/no_type, now, it may be a good
> idea to keep
> > them, as well, anyway, for backwards compatibility and simplicity.
>
> Using the PP lib seems like overkill to me.

I think, that using the PP library will give us the possibility to
configure the maximum number of required sizetype typedefs. I've
attached a version of the yes_no_type.hpp, which does so by defining a
constant 'BOOST_MAX_SIZETYPE_COUNT' if this constant isn't already
predefined by the user.

Regards Hartmut

begin 666 yes_no_type.hpp
M#0HO+R H0RD_at_0V]P>7)I9VAT($IO:&X_at_36%D9&]C:R!A;F0_at_4W1E=F4_at_0VQE
M87)Y(#(P,# N#0HO+R!097)M:7-S:6]N('1O(&-O<'DL('5S92P@;6]D:69Y
M+"!S96QL(&%N9"!D:7-T<FEB=71E('1H:7,@<V]F='=A<F4@:7,@#0HO+R!G
M<F%N=&5D('!R;W9I9&5D('1H:7,@8V]P>7)I9VAT(&YO=&EC92!A<'!E87)S
M(&EN(&%L;"!C;W!I97,N(%1H:7,@<V]F='=A<F4@#0HO+R!I<R!P<F]V:61E
M9" B87,@:7,B('=I=&AO=70_at_97AP<F5S<R!O<B!I;7!L:65D('=A<G)A;G1Y
M+"!A;F0@=VET:"!N;R!C;&%I;2 -"B\O(&%S('1O(&ET<R!S=6ET86)I;&ET
M>2!F;W(@86YY('!U<G!O<V4N#0H-"B\O(%-E92!H='1P.B\O=W=W+F)O;W-T
M+F]R9R!F;W(@;6]S="!R96-E;G0@=F5R<VEO;B!I;F-L=61I;F<@9&]C=6UE
M;G1A=&EO;BX-"B\O#0HO+R!M86-R;W,@86YD(&AE;'!E<G,@9F]R('=O<FMI
M;F<@=VET:"!I;G1E9W)A;"UC;VYS=&%N="UE>'!R97-S:6]N<RX-"@T*(VEN
M8VQU9&4@/&)O;W-T+W!R97!R;V-E<W-O<B]R97!E=&ET:6]N+W)E<&5A="YH
M<' ^#0H-"B-I9FYD968_at_0D]/4U1?551)3$E465]915-?3D]?5%E015](4% -
M"B-D969I;F4_at_0D]/4U1?551)3$E465]915-?3D]?5%E015](4% -"@T*;F%M
M97-P86-E(&)O;W-T('L-"@T*='EP961E9B!C:&%R("@F>65S7W1Y<&4I6S%=
M.PT*='EP961E9B!C:&%R("@F;F]?='EP92E;,ET[#0H-"B\O("!4:&4_at_0D]/
M4U1?34%87U-)6D5465!%7T-/54Y4(&-O;G-T86YT(&1E9FEN97,@=&AE(&UA
M>&EM=6T@;G5M8F5R(&]F#0HO+R @9V5N97)A=&5D('-I>F5T>7!E(&1E9FEN
M:71I;VYS+B!)9B!T:&ES(&ES;B=T('!R961E9FEN960L(#$V(&ES('5S960N
M#0HC:69N9&5F($)/3U-47TU!6%]325I%5%E015]#3U5.5 T*(V1E9FEN92!"
M3T]35%]-05A?4TE:15194$5?0T]53E0),38-"B-E;F1I9_at_T*#0HO+R @5&AE
M(&9O;&QO=VEN9R!E>'!A;F1S('1O(" @#0HO+PT*+R\)='EP961E9B!C:&%R
M("@F<VEZ94Y?="E;3ET[#0HO+PT*+R\@(&9O<B!.(#T@,2XN0D]/4U1?34%8
M7U-)6D5465!%7T-/54Y4#0HC9&5F:6YE(%-)6D5465!%*'HL(&XL(&YI;"D@
M7 T*"71Y<&5D968_at_8VAA<B H)G-I>F4@(R,@;B C(R!?="E;;ET[(%P-"@DO
M*BHO#0H-"D)/3U-47U!07U)%4$5!5"A"3T]35%]-05A?4TE:15194$5?0T]5
M3E0L(%-)6D5465!%+"!N:6PI#0H-"B\O("!U;F1E9FEN92!T:&4@:&5L<&5R
M(&UA8W)O<PT*(W5N9&5F(%-)6D5465!%#0H-"GT@+R\@;F%M97-P86-E(&)O
M;W-T#0H-"B-E;F1I9B O+R!"3T]35%]55$E,25197UE%4U].3U]465!%7TA0
%4 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