C++17からstd::iterator_traitsはSFINAE-friendlyになっている。型がイテレータとして解釈出来ない場合iterator_traitsの下には何も定義されなくなる(n4800 §22.3.2.3 )。しかしlibstdc++の実装はポインタでありイテレータでないvoid*を渡すと直ちにコンパイルエラーになるhttps://wandbox.org/permlink/gmCA5NNt5fEFq1yJ …
0 replies
5 retweets
9 likes
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.