で、variantをstdに持って来るにあたって、1つめの型にdefault-constructibleでない型を突っ込みたいというアレがあったらしく、variantの1つめに突っ込んでおく為の型monostateなんてのが登場した http://en.cppreference.com/w/cpp/utility/variant/monostate …
-
-
あ、すいません。boost::blankでした。Design Overviewのとこに書いてます。
-
見つけました! ありがとうございます。Boostの頃から用意はされていた物だったんですね
End of conversation
New conversation -
-
-
boostjpにもサンプルコード載せてありました。https://boostjp.github.io/tips/variant.html#clear …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.