www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - documentation: deprecated sample code

fixed .size/.sizeof and InlineAsm/D_InlineAsm issues

Thomas


begin 666 documentation__deprecated_sample_code.diff
M9&EF9B M=7( 9&UD+VAT;6PO9"]A<G)A>7,N:'1M;"!D;60O:'1M;%]N974O
M9"]A<G)A>7,N:'1M; HM+2T 9&UD+VAT;6PO9"]A<G)A>7,N:'1M; DR,# T
M+3 X+3$X(#$W.C4U.C P+C P,# P,# P," K,#(P, HK*RL 9&UD+VAT;6Q?
M;F5U+V0O87)R87ES+FAT;6P),C P-"TQ,"TP-R R,#HP,SHS,RXY-# S-3,X
M-#  *S R,# *0$  +38V-RPQ," K-C8W+#$P($! "B -"B )/'!R93X-"B )
M>"YL96YG=& )"2\O(#$P+"!N=6UB97( ;V8 8FET<PT*+0EX+G-I>F4)"0DO
M+R T+"  8GET97, ;V8 <W1O<F%G90T**PEX+G-I>F5O9 D)+R\ -"P (&)Y
M=&5S(&]F('-T;W)A9V4-"B )/"]P<F4^#0H #0HM"5-O+"!T:&4 <VEZ92!P
M97( 96QE;65N="!I<R!N;W0 *' N<VEZ92 O(' N;&5N9W1H*2X-"BL)4V\L
M('1H92!S:7IE('!E<B!E;&5M96YT(&ES(&YO=" H>"YS:7IE;V8 +R!X+FQE
M;F=T:"DN#0H #0H "3PA+2T 3D]413H :&]W(&1O(&5N=6US(&%N9"!B:71S
M('=O<FL =&]G971H97(_("TM/ T*( T*9&EF9B M=7( 9&UD+VAT;6PO9"]C
M;&%S<RYH=&UL(&1M9"]H=&UL7VYE=2]D+V-L87-S+FAT;6P*+2TM(&1M9"]H
M=&UL+V0O8VQA<W,N:'1M; DR,# T+3 Y+3 Q(#$Q.C Y.C4R+C P,# P,# P
M," K,#(P, HK*RL 9&UD+VAT;6Q?;F5U+V0O8VQA<W,N:'1M; DR,# T+3$P
M+3 W(#(P.C S.C0R+C V,3$Q.3,P-" K,#(P, I 0" M-C$Q+#< *S8Q,2PW
M($! "B -"B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