21 #ifndef HIPPOMOCKS_REVERSE_H 22 #define HIPPOMOCKS_REVERSE_H 26 #pragma warning(disable: 4510) // MSVC 2013 says: Cannot generate default constructor. This is fine, as we won't use it. 27 #pragma warning(disable: 4512) // MSVC 2013 says: Cannot generate assignment operator. This is fine, as we won't use it. 28 #pragma warning(disable: 4610) // MSVC 2013 says: Cannot create object. It's wrong. reversed_container< T > reverse_order(T &container)
auto begin(reversed_container< T > container) -> decltype(container.container.rbegin())
auto end(reversed_container< T > container) -> decltype(container.container.rend())