y‰SŽÒнŒ}zC/C++Ž ..
[
2ch
|
¥Menu
]
¡ƒRƒsƒyƒ‚[ƒh
ƒXƒŒ‚ð’Êí•\ަ
ƒIƒvƒVƒ‡ƒ“ƒ‚[ƒh
‚±‚̽گÄÞ‚ÌURL
¡€–ÚƒeƒLƒXƒg
225:224 07/11/10 11:27:22 >ƒNƒ‰ƒX‚̃ƒ“ƒo•Ï”‚Í’è‹`‚µ‚È‚¢ŒÀ‚èŽÀ‘Ì‚ª‚È‚‚ÄA ‚Æ‚¢‚¤‚Ì‚ÍA‚à‚¿‚ë‚ñ”ñstatic‚ȃƒ“ƒo[‚ɂ‚¢‚Ăͳ‚µ‚¢B ã‚Å‘‚¢‚½‚Ì‚Ístatic‚ȃƒ“ƒo[‚ɂ‚¢‚ÄB 226:ƒfƒtƒHƒ‹ƒg‚Ì–¼–³‚µ‚³‚ñ 07/11/10 11:34:49 >>210>>214>>223 BCC‚Å>>208‚ňø‚Á‚©‚©‚Á‚Ä’²‚ׂ½‚Æ‚«‚É u>>208‚ÍV‚µ‚¢‹KŠi‚Å>>213‚͌¢‹KŠiv ‚Ý‚½‚¢‚È‹Lq‚ðŒ©‚½‚ñ‚¾‚ªB ƒRƒŒ‚ªƒzƒ“ƒg‚È‚çAuŒ«‚¢v‚Æ‚©‚ ‚ñ‚Ü‚èŠÖŒW‚È‚¢‚ñ‚¶‚á‚ËH ³Šm‚ȂƂ±‚ë’m‚Á‚Ä‚élAƒtƒHƒ[plz 227:ƒfƒtƒHƒ‹ƒg‚Ì–¼–³‚µ‚³‚ñ 07/11/10 11:50:28 >>226 ƒ|ƒCƒ“ƒ^‚âŽQƂƂ©‚̃AƒhƒŒƒX‚ð•K—v‚Æ‚µ‚È‚¢ê‡‚Å‚àí‚Ƀƒ‚ƒŠŠm•Û ‚ð‹§‚³‚ê‚邯‚¢‚¤‚Ì‚ðV‚µ‚¢‹KŠi‚Å”F‚é‚Ì‚ÍM‚¶‚ª‚½‚¢‚¯‚ÇB ³Šm‚ȂƂ±‚ë’m‚Á‚Ä‚élAƒtƒHƒ[plz 228:ƒfƒtƒHƒ‹ƒg‚Ì–¼–³‚µ‚³‚ñ 07/11/10 12:43:08 >>224 ‚³‚Á‚«‚©‚çŽÀ‘•ˆË‘¶‚¾‚ÆŒ¾‚Á‚Ä‚é‚Ì‚Á‚ÄA–¼‘O‹óŠÔƒXƒR[ƒv‚É’è‹`‚µ‚½ const •Ï”‚Ì ˜b‚¶‚á‚È‚¢‚ÌH ƒNƒ‰ƒX‚Ì static const ‚ȃƒ“ƒo•Ï”‚̓Nƒ‰ƒX’è‹`“à‚Å‚Í錾‚µ‚©‚³‚ê‚È‚¢‚Ì‚ÅA •Ê“r’è‹`‚ª•K—vB®”Œ^‚ÉŒÀ‚Á‚ÄA錾‚ɂ‚¯‚½‰Šú’l‚ðŽ‚Â’è”Ž®‚Æ‚µ‚ÄŽg‚¦‚é ‚Æ‚¢‚¤“Á•ʃ‹[ƒ‹‚ª‚ ‚邾‚¯B C++ 2003 ‹KŠi‚Ì 9.4.2 p2 ‚æ‚è > The declaration of a static data member in its class definition is not a definition and may be of an > incomplete type other than cv-qualified void. The definition for a static data member shall appear in a > namespace scope enclosing the memberfs class definition. “¯‚¶‚ 9.4.2 p4 > If a static data member is of const integral or const enumeration type, its declaration in the class > definition can specify a constant-initializer which shall be an integral constant expression (5.19). In that > case, the member can appear in integral constant expressions. The member shall still be defined in a namespace > scope if it is used in the program and the namespace scope definition shall not contain an initializer.
ŽŸƒy[ƒW
ÅVƒŒƒX•\ަ
ƒXƒŒƒbƒh‚ÌŒŸõ
—ÞŽ—ƒXƒŒˆê——
˜b‘è‚̃jƒ…[ƒX
‚¨‚Ü‚©‚¹ƒŠƒXƒg
¥ƒIƒvƒVƒ‡ƒ“‚ð•\ަ
ƒŒƒXƒWƒƒƒ“ƒv
mixiƒ`ƒFƒbƒNI
Twitter‚É“Še
ƒIƒvƒVƒ‡ƒ“
‚µ‚¨‚è‚ð‹²‚Þ
ƒXƒŒƒbƒh‚É‘ž
ƒXƒŒƒbƒh‚̈ꗗ
‰É‚‚Ԃµ2ch
5005“ú‘O‚ÉXV/97 KB
’S“–:undef