Skip to content

Instantly share code, notes, and snippets.

@jyrkive
Created July 24, 2016 04:26
Show Gist options
  • Select an option

  • Save jyrkive/fcc4c336b3e85e27d73b61d683a937c2 to your computer and use it in GitHub Desktop.

Select an option

Save jyrkive/fcc4c336b3e85e27d73b61d683a937c2 to your computer and use it in GitHub Desktop.
Build failure
2>i:\battle for wesnoth\external\include\boost\iterator\transform_iterator.hpp(51): error C2039: 'type' : is not a member of 'boost::iterators::detail::ia_dflt_help<Reference,boost::result_of<const UnaryFunc (const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &)>>'
2> with
2> [
2> Reference=boost::iterators::use_default
2> , UnaryFunc=std::_Bind<true,int,int (__cdecl *const )(std::string,int),const boost::arg<1> &,int>
2> ] (..\..\src\tod_manager.cpp)
2> i:\battle for wesnoth\external\include\boost\iterator\transform_iterator.hpp(76) : see reference to class template instantiation 'boost::iterators::detail::transform_iterator_base<UnaryFunc,Iterator,Reference,Value>' being compiled
2> with
2> [
2> UnaryFunc=std::_Bind<true,int,int (__cdecl *const )(std::string,int),const boost::arg<1> &,int>
2> , Iterator=std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<std::basic_string<char,std::char_traits<char>,std::allocator<char>>>>>
2> , Reference=boost::iterators::use_default
2> , Value=boost::iterators::use_default
2> ]
2> i:\battle for wesnoth\external\include\boost\range\adaptor\transformed.hpp(33) : see reference to class template instantiation 'boost::iterators::transform_iterator<P,It,boost::iterators::use_default,boost::iterators::use_default>' being compiled
2> with
2> [
2> P=std::_Bind<true,int,int (__cdecl *const )(std::string,int),const boost::arg<1> &,int>
2> , It=std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<std::basic_string<char,std::char_traits<char>,std::allocator<char>>>>>
2> ]
2> i:\battle for wesnoth\external\include\boost\range\adaptor\transformed.hpp(43) : see reference to class template instantiation 'boost::range_detail::transform_iterator_gen<F,std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>>' being compiled
2> with
2> [
2> F=std::_Bind<true,int,int (__cdecl *const )(std::string,int),const boost::arg<1> &,int>
2> , _Ty=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
2> ]
2> i:\battle for wesnoth\wesnoth\src\tod_manager.cpp(93) : see reference to class template instantiation 'boost::range_detail::transformed_range<std::_Bind<true,To,To (__cdecl *const )(From,To),const boost::arg<1> &,int>,const std::vector<std::string,std::allocator<_Ty>>>' being compiled
2> with
2> [
2> To=int
2> , From=std::string
2> , _Ty=std::string
2> ]
2>i:\battle for wesnoth\external\include\boost\iterator\transform_iterator.hpp(60): error C3203: 'type' : unspecialized class template can't be used as a template argument for template parameter 'T', expected a real type (..\..\src\tod_manager.cpp)
2>i:\battle for wesnoth\external\include\boost\iterator\transform_iterator.hpp(70): error C3203: 'type' : unspecialized class template can't be used as a template argument for template parameter 'Reference', expected a real type (..\..\src\tod_manager.cpp)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment