Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- P:\VS15\VC\Tools\MSVC\14.12.25827\include\xmemory0(945): error C2280: 'std::pair<const _Kty,_Ty>::pair(const std::pair<const _Kty,_Ty> &)': attempting to reference a deleted function
- with
- [
- _Kty=std::string,
- _Ty=std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>
- ]
- P:\VS15\VC\Tools\MSVC\14.12.25827\include\utility(135): note: see declaration of 'std::pair<const _Kty,_Ty>::pair'
- with
- [
- _Kty=std::string,
- _Ty=std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>
- ]
- P:\VS15\VC\Tools\MSVC\14.12.25827\include\list(1255): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,const std::pair<const _Kty,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>>&>(_Alloc &,_Objty *const ,const std::pair<const _Kty,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>> &)' being compiled
- with
- [
- _Alloc=std::allocator<std::_List_node<std::pair<const std::string,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>>,std::_Default_allocator_traits<std::allocator<std::pair<const std::string,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>>>>::void_pointer>>,
- _Ty=std::pair<const std::string,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>>,
- _Kty=std::string,
- _Objty=std::pair<const std::string,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>>
- ]
- P:\VS15\VC\Tools\MSVC\14.12.25827\include\list(1253): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,const std::pair<const _Kty,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>>&>(_Alloc &,_Objty *const ,const std::pair<const _Kty,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>> &)' being compiled
- with
- [
- _Alloc=std::allocator<std::_List_node<std::pair<const std::string,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>>,std::_Default_allocator_traits<std::allocator<std::pair<const std::string,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>>>>::void_pointer>>,
- _Ty=std::pair<const std::string,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>>,
- _Kty=std::string,
- _Objty=std::pair<const std::string,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>>
- ]
- P:\VS15\VC\Tools\MSVC\14.12.25827\include\list(1237): note: see reference to function template instantiation 'void std::list<std::pair<const _Kty,_Ty>,std::allocator<std::pair<const _Kty,_Ty>>>::_Reusenode<const std::pair<const _Kty,_Ty>&>(std::_List_iterator<std::_List_val<std::_List_simple_types<std::pair<const _Kty,_Ty>>>>,_TArg)' being compiled
- with
- [
- _Kty=std::string,
- _Ty=std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>,
- _TArg=const std::pair<const std::string,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>> &
- ]
- P:\VS15\VC\Tools\MSVC\14.12.25827\include\list(1237): note: see reference to function template instantiation 'void std::list<std::pair<const _Kty,_Ty>,std::allocator<std::pair<const _Kty,_Ty>>>::_Reusenode<const std::pair<const _Kty,_Ty>&>(std::_List_iterator<std::_List_val<std::_List_simple_types<std::pair<const _Kty,_Ty>>>>,_TArg)' being compiled
- with
- [
- _Kty=std::string,
- _Ty=std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>,
- _TArg=const std::pair<const std::string,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>> &
- ]
- P:\VS15\VC\Tools\MSVC\14.12.25827\include\list(1047): note: see reference to function template instantiation 'void std::list<std::pair<const _Kty,_Ty>,std::allocator<std::pair<const _Kty,_Ty>>>::assign<std::_List_const_iterator<std::_List_val<std::_List_simple_types<std::pair<const _Kty,_Ty>>>>,void>(_Iter,_Iter)' being compiled
- with
- [
- _Kty=std::string,
- _Ty=std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>,
- _Iter=std::_List_const_iterator<std::_List_val<std::_List_simple_types<std::pair<const std::string,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>>>>>
- ]
- P:\VS15\VC\Tools\MSVC\14.12.25827\include\list(1047): note: see reference to function template instantiation 'void std::list<std::pair<const _Kty,_Ty>,std::allocator<std::pair<const _Kty,_Ty>>>::assign<std::_List_const_iterator<std::_List_val<std::_List_simple_types<std::pair<const _Kty,_Ty>>>>,void>(_Iter,_Iter)' being compiled
- with
- [
- _Kty=std::string,
- _Ty=std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>,
- _Iter=std::_List_const_iterator<std::_List_val<std::_List_simple_types<std::pair<const std::string,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>>>>>
- ]
- P:\VS15\VC\Tools\MSVC\14.12.25827\include\list(1033): note: while compiling class template member function 'std::list<std::pair<const _Kty,_Ty>,std::allocator<std::pair<const _Kty,_Ty>>> &std::list<std::pair<const _Kty,_Ty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator =(const std::list<std::pair<const _Kty,_Ty>,std::allocator<std::pair<const _Kty,_Ty>>> &)'
- with
- [
- _Kty=std::string,
- _Ty=std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>
- ]
- P:\VS15\VC\Tools\MSVC\14.12.25827\include\xhash(317): note: see reference to function template instantiation 'std::list<std::pair<const _Kty,_Ty>,std::allocator<std::pair<const _Kty,_Ty>>> &std::list<std::pair<const _Kty,_Ty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator =(const std::list<std::pair<const _Kty,_Ty>,std::allocator<std::pair<const _Kty,_Ty>>> &)' being compiled
- with
- [
- _Kty=std::string,
- _Ty=std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>
- ]
- P:\VS15\VC\Tools\MSVC\14.12.25827\include\xhash(169): note: see reference to class template instantiation 'std::list<std::pair<const _Kty,_Ty>,std::allocator<std::pair<const _Kty,_Ty>>>' being compiled
- with
- [
- _Kty=std::string,
- _Ty=std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>
- ]
- P:\VS15\VC\Tools\MSVC\14.12.25827\include\unordered_map(92): note: see reference to class template instantiation 'std::_Hash<std::_Umap_traits<_Kty,_Ty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false>>' being compiled
- with
- [
- _Kty=std::string,
- _Ty=std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>,
- _Hasher=std::hash<std::string>,
- _Keyeq=std::equal_to<std::string>,
- _Alloc=std::allocator<std::pair<const std::string,std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>>>
- ]
- .\src\hlslparser.hpp(565): note: see reference to class template instantiation 'std::unordered_map<std::string,std::unique_ptr<ASTFunction,std::default_delete<_Ty>>,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,std::unique_ptr<_Ty,std::default_delete<_Ty>>>>>' being compiled
- with
- [
- _Ty=ASTFunction,
- _Kty=std::string
- ]
- P:\VS15\VC\Tools\MSVC\14.12.25827\include\utility(135): note: 'std::pair<const _Kty,_Ty>::pair(const std::pair<const _Kty,_Ty> &)': function was implicitly deleted because a data member invokes a deleted or inaccessible function 'std::unique_ptr<ASTFunction,std::default_delete<_Ty>>::unique_ptr(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &)'
- with
- [
- _Kty=std::string,
- _Ty=std::unique_ptr<ASTFunction,std::default_delete<ASTFunction>>
- ]
- and
- [
- _Ty=ASTFunction
- ]
- P:\VS15\VC\Tools\MSVC\14.12.25827\include\memory(2380): note: 'std::unique_ptr<ASTFunction,std::default_delete<_Ty>>::unique_ptr(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &)': function was explicitly deleted
- with
- [
- _Ty=ASTFunction
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement