Własny Random Access Iterator
Ostatnio zmodyfikowano 2017-04-06 21:13
1aam2am1 |
» 2017-04-06 20:07:01 A więc co trzeba teraz stosować? |
|
Monika90 |
» 2017-04-06 21:13:14 Teraz synonimy typów trzeba zdefiniować ręcznie. Na przykład: using iterator_category = std::random_access_iterator_tag; using value_type = T; using difference_type = std::ptrdiff_t; using pointer = T *; using reference = T &;
|
|
1 « 2 » |