ARTICLE AD BOX
I want to create a function with an argument variable that shall satisfy the C++ standard's ContiguousContainer. My function should work on any type that realizes that concept, e.g., std::vector, std::array, AND also any non-conventional, non-standard but suitable types (3rd-party contiguous containers).
However, I cannot access the identifier ContiguousContainer. I find no library that, being included, could tell my compiler what I mean by the word ContiguousContainer.
How would you do it?
Or should I compose my own implementation of the concept ContiguousContainer, using standard requirements and reqs written by me, to assert that my function argument variable (and/or type template parameter of my function, if templated) has size() method, has begin() method, defines necessary iterator types, etc., etc. (tons of requirements).
