Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- check-default-constuctable-copyable.cpp: In instantiation of '_check_default_and_copy_constructable<T>::_check_default_and_copy_constructable() [with T = non_default_constructable]':
- check-default-constuctable-copyable.cpp:42:5: required from here
- check-default-constuctable-copyable.cpp:10:11: error: no matching function for call to 'non_default_constructable::non_default_constructable()'
- check-default-constuctable-copyable.cpp:10:11: note: candidates are:
- check-default-constuctable-copyable.cpp:23:5: note: non_default_constructable::non_default_constructable(int)
- check-default-constuctable-copyable.cpp:23:5: note: candidate expects 1 argument, 0 provided
- check-default-constuctable-copyable.cpp:20:7: note: non_default_constructable::non_default_constructable(const non_default_constructable&)
- check-default-constuctable-copyable.cpp:20:7: note: candidate expects 1 argument, 0 provided
- check-default-constuctable-copyable.cpp: In instantiation of '_check_default_and_copy_constructable<T>::_check_default_and_copy_constructable() [with T = non_copy_constructable]':
- check-default-constuctable-copyable.cpp:43:5: required from here
- check-default-constuctable-copyable.cpp:36:5: error: 'non_copy_constructable::non_copy_constructable(const non_copy_constructable&)' is private
- check-default-constuctable-copyable.cpp:11:33: error: within this context
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement