std=c++14
Ну вот на c++11 c++14 выдает такое
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/shared_ptr_base.h:522:30: note: in instantiation of function template specialization
'std::allocator_traits<std::allocator<Sphere> >::construct<Sphere, std::unique_ptr<Sphere, std::default_delete<Sphere> > &>' requested here
allocator_traits<_Alloc>::construct(__a, _M_ptr(),
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/shared_ptr_base.h:617:18: note: in instantiation of function template specialization
'std::_Sp_counted_ptr_inplace<Sphere, std::allocator<Sphere>, __gnu_cxx::_Lock_policy::_S_atomic>::_Sp_counted_ptr_inplace<std::unique_ptr<Sphere, std::default_delete<Sphere> > &>'
requested here
::new (__mem) _Sp_cp_type(std::move(__a),