//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // template ::value_type, // class traits = regex_traits> // class regex_iterator // { // public: // typedef basic_regex regex_type; // typedef match_results value_type; // typedef ptrdiff_t difference_type; // typedef const value_type* pointer; // typedef const value_type& reference; // typedef forward_iterator_tag iterator_category; #include #include template void test() { typedef std::regex_iterator I; static_assert((std::is_same >::value), ""); static_assert((std::is_same >::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same*>::value), ""); static_assert((std::is_same&>::value), ""); static_assert((std::is_same::value), ""); } int main() { test(); test(); }