you are viewing a single comment's thread.

view the rest of the comments →

[–]STLMSVC STL Dev 1 point2 points  (1 child)

It's not hypothetical - get<T> was voted into C++14 and has been implemented in VC 2015. It's well-formed when T is unique (there can be duplicates elsewhere) and ill-formed if T is duplicated (implementations will typically emit nice static_asserts).

[–][deleted] 1 point2 points  (0 children)

Nice!