
"Peter Dimov" <pdimov@mmltd.net> wrote in message news:003b01c4337c$83b49df0$1d00a8c0@pdimov2... | Thorsten Ottosen wrote: [snip]
because I assume it will also have member functions that makes it a | > Range, ie, begin(), end(), empty(), size(). So it merges ranges with | > iterators. | | Range is begin(), end();
So you want size() and empty() to be removed from the Range Traits? |Iterator is ++ and *, and ConvertibleToBool is | if( x ). A concept only specifies the minimal requirements. Couldn't a concept also specify functions that can be built on top of that minimal set? | If we had to | invent new concepts for every combination, we wouldn't be able to get | anything else done, combinatorial explosion and all. ;-) well, in general we agree. br Thorsten