minimum_category_compile_fail.cpp 424 B

12345678910111213141516171819
  1. // Copyright Andrey Semashev 2014.
  2. //
  3. // Use, modification and distribution is subject to
  4. // the Boost Software License, Version 1.0. (See accompanying
  5. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. #include <boost/iterator/minimum_category.hpp>
  7. using boost::iterators::minimum_category;
  8. struct A {};
  9. struct B {};
  10. int main(int, char*[])
  11. {
  12. minimum_category<A, B>::type cat;
  13. return 0;
  14. }