Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------ Build started: Project: sequitur, Configuration: Debug Win32 ------
- main.cpp
- C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\utility(155): error : no instance of constructor "jw::SymbolWrapper::SymbolWrapper" matches the argument list
- argument types are: (jw::SymbolWrapper)
- : first(_STD forward<_Other1>(_Right.first)),
- ^
- detected during:
- instantiation of "std::pair<_Ty1, _Ty2>::pair(std::pair<_Other1, _Other2> &&) [with _Ty1=jw::SymbolWrapper, _Ty2=jw::SymbolWrapper, _Other1=jw::SymbolWrapper, _Other2=jw::SymbolWrapper, <unnamed>=void]" at line 142
- instantiation of "std::pair<_Ty1, _Ty2>::pair(_Other1 &&, _Other2 &&) [with _Ty1=const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, _Ty2=jw::Symbol *, _Other1=std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, _Other2=jw::Symbol *&, <unnamed>=void]" at line 600 of "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xmemory0"
- instantiation of "void std::allocator<_Ty>::construct(_Objty *, _Types &&...) [with _Ty=std::_List_node<std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>, void *>, _Objty=std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>, _Types=<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *&>]" at line 723 of "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xmemory0"
- instantiation of "void std::allocator_traits<std::allocator<_Ty>>::construct(std::allocator_traits<std::allocator<_Ty>>::_Alloc &, _Objty *, _Types &&...) [with _Ty=std::_List_node<std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>, void *>, _Objty=std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>, _Types=<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *&>]" at line 872 of "C:\Program Files (x86)\Microsoft Visual
- Studio 12.0\VC\include\xmemory0"
- instantiation of "void std::_Wrap_alloc<_Alloc>::construct(_Ty *, _Types &&...) [with _Alloc=std::allocator<std::_List_node<std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>, void *>>, _Ty=std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>, _Types=<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *&>]" at line 835 of "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\list"
- [ 2 instantiation contexts not shown ]
- instantiation of "void std::list<_Ty, _Alloc>::emplace_front(_Valty &&...) [with _Ty=std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>, _Alloc=std::allocator<std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>>, _Valty=<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *&>]" at line 394 of "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xhash"
- instantiation of "std::_Hash<_Traits>::_Pairib std::_Hash<_Traits>::emplace(_Valty &&...) [with _Traits=std::_Umap_traits<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *, std::_Uhash_compare<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, std::hash<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>>, std::equal_to<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>>>, std::allocator<std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>>, 0>,
- _Valty=<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *&>]" at line 284 of "..\..\..\..\..\Desktop\cpp-sequitur-master\sequitur.hpp"
- instantiation of "jw::Symbol *jw::Sequitur<Type>::findAndAddDigram(jw::Symbol *) [with Type=char]" at line 253 of "..\..\..\..\..\Desktop\cpp-sequitur-master\sequitur.hpp"
- instantiation of "void jw::Sequitur<Type>::linkMade(jw::Symbol *) [with Type=char]" at line 226 of "..\..\..\..\..\Desktop\cpp-sequitur-master\sequitur.hpp"
- instantiation of "void jw::Sequitur<Type>::push_back(Type) [with Type=char]" at line 42 of "..\..\..\..\..\Desktop\cpp-sequitur-master\main.cpp"
- C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\utility(156): error : no instance of constructor "jw::SymbolWrapper::SymbolWrapper" matches the argument list
- argument types are: (jw::SymbolWrapper)
- second(_STD forward<_Other2>(_Right.second))
- ^
- detected during:
- instantiation of "std::pair<_Ty1, _Ty2>::pair(std::pair<_Other1, _Other2> &&) [with _Ty1=jw::SymbolWrapper, _Ty2=jw::SymbolWrapper, _Other1=jw::SymbolWrapper, _Other2=jw::SymbolWrapper, <unnamed>=void]" at line 142
- instantiation of "std::pair<_Ty1, _Ty2>::pair(_Other1 &&, _Other2 &&) [with _Ty1=const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, _Ty2=jw::Symbol *, _Other1=std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, _Other2=jw::Symbol *&, <unnamed>=void]" at line 600 of "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xmemory0"
- instantiation of "void std::allocator<_Ty>::construct(_Objty *, _Types &&...) [with _Ty=std::_List_node<std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>, void *>, _Objty=std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>, _Types=<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *&>]" at line 723 of "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xmemory0"
- instantiation of "void std::allocator_traits<std::allocator<_Ty>>::construct(std::allocator_traits<std::allocator<_Ty>>::_Alloc &, _Objty *, _Types &&...) [with _Ty=std::_List_node<std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>, void *>, _Objty=std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>, _Types=<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *&>]" at line 872 of "C:\Program Files (x86)\Microsoft Visual
- Studio 12.0\VC\include\xmemory0"
- instantiation of "void std::_Wrap_alloc<_Alloc>::construct(_Ty *, _Types &&...) [with _Alloc=std::allocator<std::_List_node<std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>, void *>>, _Ty=std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>, _Types=<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *&>]" at line 835 of "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\list"
- [ 2 instantiation contexts not shown ]
- instantiation of "void std::list<_Ty, _Alloc>::emplace_front(_Valty &&...) [with _Ty=std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>, _Alloc=std::allocator<std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>>, _Valty=<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *&>]" at line 394 of "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xhash"
- instantiation of "std::_Hash<_Traits>::_Pairib std::_Hash<_Traits>::emplace(_Valty &&...) [with _Traits=std::_Umap_traits<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *, std::_Uhash_compare<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, std::hash<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>>, std::equal_to<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>>>, std::allocator<std::pair<const std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *>>, 0>,
- _Valty=<std::pair<jw::SymbolWrapper, jw::SymbolWrapper>, jw::Symbol *&>]" at line 284 of "..\..\..\..\..\Desktop\cpp-sequitur-master\sequitur.hpp"
- instantiation of "jw::Symbol *jw::Sequitur<Type>::findAndAddDigram(jw::Symbol *) [with Type=char]" at line 253 of "..\..\..\..\..\Desktop\cpp-sequitur-master\sequitur.hpp"
- instantiation of "void jw::Sequitur<Type>::linkMade(jw::Symbol *) [with Type=char]" at line 226 of "..\..\..\..\..\Desktop\cpp-sequitur-master\sequitur.hpp"
- instantiation of "void jw::Sequitur<Type>::push_back(Type) [with Type=char]" at line 42 of "..\..\..\..\..\Desktop\cpp-sequitur-master\main.cpp"
- compilation aborted for ..\..\..\..\..\Desktop\cpp-sequitur-master\main.cpp (code 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement