Boost logo

Boost :

From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2002-07-17 17:03:23


Heu... it's right.

Here are C++ versions using 2 statements.

Philippe A. Bouchard

"David B. Held" <dheld_at_[hidden]> wrote in message
news:ah4o9m$ks7$1_at_main.gmane.org...
> "Fernando Cacciola" <fcacciola_at_[hidden]> wrote in message
> news:00c401c22dd6$294da1c0$0f00a8c0_at_fernandoc...
>
> In addition, Comeau's compiler is the closest thing to the "living
standard"
> available. ;) I'd be very suprised if it got a conformance issue wrong.
I
> believe
> it does support C99, but since C99 is not a part of the ISO/ANSI C++98
> standard (for obvious reasons), it probably does not do so in C++ mode.

begin 666 squad_ptr.h
M+RH*(" @5&AI<R!F:6QE(&ES('!A<G0@;V8@=&AE($9$22!L:6)R87)I97,*
M(" @0V]P>7)I9VAT("AC*2 R,# R(%!H:6QI<'!E($$N($)O=6-H87)D(#QP
M:&EL:7!P94!F;W)N=7_at_N8V]M/@H*(" @5&AI<R!L:6)R87)Y(&ES(&9R964@
M<V]F='=A<F4[('EO=2!C86X@<F5D:7-T<FEB=71E(&ET(&%N9"]O<@H@("!M
M;V1I9GD@:70@=6YD97(@=&AE('1E<FUS(&]F('1H92!'3E4_at_3&EB<F%R>2!'
M96YE<F%L(%!U8FQI8PH@("!,:6-E;G-E('9E<G-I;VX@,B!A<R!P=6)L:7-H
M960_at_8GD@=&AE($9R964_at_4V]F='=A<F4_at_1F]U;F1A=&EO;BX*"B @(%1H:7,@
M;&EB<F%R>2!I<R!D:7-T<FEB=71E9"!I;B!T:&4@:&]P92!T:&%T(&ET('=I
M;&P_at_8F4@=7-E9G5L+ H@("!B=70_at_5TE42$]55"!!3ED_at_5T%24D%.5%D[('=I
M=&AO=70_at_979E;B!T:&4@:6UP;&EE9"!W87)R86YT>2!O9_at_H@("!-15)#2$%.
M5$%"24Q)5%D@;W(@1DE43D534R!&3U(@02!005)424-53$%2(%!54E!/4T4N
M("!3964@=&AE($=.50H@("!,:6)R87)Y($=E;F5R86P_at_4'5B;&EC($QI8V5N
M<V4_at_9F]R(&UO<F4_at_9&5T86EL<RX*"B @(%EO=2!S:&]U;&0@:&%V92!R96-E
M:79E9"!A(&-O<'D@;V8@=&AE($=.52!,:6)R87)Y($=E;F5R86P_at_4'5B;&EC
M($QI8V5N<V4*(" @86QO;F<@=VET:"!T:&ES(&QI8G)A<GD[('-E92!T:&4@
M9FEL92!#3U!924Y'+DQ)0BX@($EF(&YO="P@=W)I=&4@=&\*(" @=&AE($9R
M964_at_4V]F='=A<F4_at_1F]U;F1A=&EO;BP_at_26YC+BP_at_-3D@5&5M<&QE(%!L86-E
M("T_at_4W5I=&4@,S,P+ H@("!";W-T;VXL($U!(# R,3$Q+3$S,#<L(%5302X*
M*B\*"@HC:69N9&5F(%-154%$7U!44E]("B-D969I;F4_at_4U%5041?4%127T@*
M"@HC:6YC;'5D92 \;F5W/@H*"FYA;65S<&%C92!F9&D*>PH*=&5M<&QA=&4@
M/&-L87-S(%]4<#X*"7-T<G5C="!S<75A9%]P='(*"7L*"0ET>7!E9&5F(%]4
M<"!V86QU95]T>7!E.PH*"0ES=')U8W0_at_96QE;65N=%]T>7!E"@D)>PH)"0EF
M<FEE;F0_at_8VQA<W,@<W%U861?<'1R.PH*"0D)96QE;65N=%]T>7!E*"D_at_.B!M
M7V-O=6YT97(H,2D*"0D)>PH)"0E]"@H)"0EV86QU95]T>7!E("8_at_8G5F9F5R
M*"D*"0D)>PH)"0D)<F5T=7)N(')E:6YT97)P<F5T7V-A<W0\=F%L=65?='EP
M92 F/BAM7V)U9F9E<BD["@D)"7T*"@D)"79A;'5E7W1Y<&4_at_8V]N<W0@)B!B
M=69F97(H*2!C;VYS= H)"0E["@D)"0ER971U<FX@<F5I;G1E<G!R971?8V%S
M=#QV86QU95]T>7!E("8^*&U?8G5F9F5R*3L*"0D)?0H*"0D)?F5L96UE;G1?
M='EP92_at_I"@D)"7L*"0D)"7)E:6YT97)P<F5T7V-A<W0\=F%L=65?='EP92 F
M/BAM7V)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5%197T953D-4
M24].7U\@/#P_at_96YD;#L*"7T*"@E^02_at_I"@E["@D)8V]U=" \/"!?7U!21514
M65]&54Y#5$E/3E]?(#P\(&5N9&P["@E]"GT["@II;G0@;6%I;B_at_I"GL*"7-Q
M=6%D7W!T<CQ!/B!P*&YE=R!S<75A9%]P='(\03XZ.F5L96UE;G1?='EP92D[
M"@EN97<@*' N9V5T*"DI($$H,2P@,BP@,RD["@H)8V]U=" \/"!P+3YK(#P\
5(&5N9&P["@H)<F5T=7)N(# ["GT*
`
end


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