C++20のincrementable_traitsは2つの値の差を定義できる型について、差が何型になるかを表すtraitで、差を定義できる型にはポインタ(ptrdiff_t)、difference_type型をメンバに持つ型(difference_type)、difference_type型がメンバに無いけど引き算できる型(decltypeで決定)が該当する(n4810 §23.3.2.1)
0 replies
1 retweet
3 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.