main.cpp:4:2: error: #error ":("
#error ":("
^~~~~
In file included from main.cpp:6:0:
Test_SmartPointer.hpp: In function 'void test::test(const string&) [with __TEST_CLASSNAME__ = smart_pointer::SmartPointer<float, std::allocator<float> >; std::__cxx11::string = std::__cxx11::basic_string<char>]':
Test_SmartPointer.hpp:108:50: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:119:62: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1(new SmartPointer__type_t::value_type), sptr2(sptr1);
^~~~~~~~~~
Test_SmartPointer.hpp:131:50: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:145:50: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:153:50: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:161:51: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr1 = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:162:51: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr2 = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:170:51: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr1 = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:171:51: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr2 = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:184:51: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr1 = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:185:51: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr2 = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:199:61: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:206:50: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:212:61: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:213:50: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:219:61: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:222:54: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr = new SmartPointer__type_t::value_type;
^~~~~~~~~~
In file included from SmartPointer.hpp:4:0,
from main.cpp:2:
Test_SmartPointer.hpp:238:67: error: 'value_type' is not a member of 'SmartPointer__type_t {aka smart_pointer::SmartPointer<float, std::allocator<float> >}'
CHECK_THROW_WITH_TYPE_TRAIT(*sptr = SmartPointer__type_t::value_type(), smart_pointer::exception);
^
Test.hpp:60:9: note: in definition of macro 'CHECK_THROW_WITH_TYPE_TRAIT'
EXPR; \
^~~~
In file included from main.cpp:6:0:
Test_SmartPointer.hpp:242:50: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:247:70: error: 'value_type' is not a member of 'SmartPointer__type_t {aka smart_pointer::SmartPointer<float, std::allocator<float> >}'
__stress_tests__SmartPointer_operator_star<SmartPointer__type_t::value_type>(classname);
^~~~~~~~~~
Test_SmartPointer.hpp:247:91: error: no matching function for call to '__stress_tests__SmartPointer_operator_star<<expression error> >(const string&)'
__stress_tests__SmartPointer_operator_star<SmartPointer__type_t::value_type>(classname);
^
In file included from main.cpp:6:0:
Test_SmartPointer.hpp:16:1: note: candidate: template<class value_type> std::enable_if_t<std::is_floating_point<_Tp>::value> __stress_tests__SmartPointer_operator_star(const string&)
__stress_tests__SmartPointer_operator_star(const std::string& classname) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test_SmartPointer.hpp:16:1: note: template argument deduction/substitution failed:
In file included from main.cpp:6:0:
Test_SmartPointer.hpp:247:91: error: template argument 1 is invalid
__stress_tests__SmartPointer_operator_star<SmartPointer__type_t::value_type>(classname);
^
In file included from main.cpp:6:0:
Test_SmartPointer.hpp:54:1: note: candidate: template<class value_type> std::enable_if_t<std::is_integral<_Tp>::value> __stress_tests__SmartPointer_operator_star(const string&)
__stress_tests__SmartPointer_operator_star(const std::string& classname) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test_SmartPointer.hpp:54:1: note: template argument deduction/substitution failed:
In file included from main.cpp:6:0:
Test_SmartPointer.hpp:247:91: error: template argument 1 is invalid
__stress_tests__SmartPointer_operator_star<SmartPointer__type_t::value_type>(classname);
^
Test_SmartPointer.hpp:95:1: note: candidate: template<class value_type> std::enable_if_t<((! std::is_integral<_Tp>::value) && (! std::is_floating_point<_Tp>::value))> __stress_tests__SmartPointer_operator_star(const string&)
__stress_tests__SmartPointer_operator_star(const std::string& classname) {}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test_SmartPointer.hpp:95:1: note: template argument deduction/substitution failed:
Test_SmartPointer.hpp:247:91: error: template argument 1 is invalid
__stress_tests__SmartPointer_operator_star<SmartPointer__type_t::value_type>(classname);
^
Test_SmartPointer.hpp:255:61: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:259:54: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:274:61: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:278:54: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
auto raw_ptr = new SmartPointer__type_t::value_type;
^~~~~~~~~~
Test_SmartPointer.hpp:293:61: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:309:62: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1(new SmartPointer__type_t::value_type), sptr2;
^~~~~~~~~~
Test_SmartPointer.hpp:314:62: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:320:69: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1, sptr2(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:326:78: error: 'value_type' in 'using SmartPointer__another_type_t = class smart_pointer::SmartPointer<long unsigned int, std::allocator<long unsigned int> > {aka class smart_pointer::SmartPointer<long unsigned int, std::allocator<long unsigned int> >}' does not name a type
SmartPointer__another_type_t sptr2(new SmartPointer__another_type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:331:62: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1(new SmartPointer__type_t::value_type), sptr2(sptr1);
^~~~~~~~~~
Test_SmartPointer.hpp:336:62: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1(new SmartPointer__type_t::value_type), sptr2(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:336:107: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1(new SmartPointer__type_t::value_type), sptr2(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:341:62: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:342:78: error: 'value_type' in 'using SmartPointer__another_type_t = class smart_pointer::SmartPointer<long unsigned int, std::allocator<long unsigned int> > {aka class smart_pointer::SmartPointer<long unsigned int, std::allocator<long unsigned int> >}' does not name a type
SmartPointer__another_type_t sptr2(new SmartPointer__another_type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:359:62: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1(new SmartPointer__type_t::value_type), sptr2;
^~~~~~~~~~
Test_SmartPointer.hpp:364:62: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:370:69: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1, sptr2(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:376:78: error: 'value_type' in 'using SmartPointer__another_type_t = class smart_pointer::SmartPointer<long unsigned int, std::allocator<long unsigned int> > {aka class smart_pointer::SmartPointer<long unsigned int, std::allocator<long unsigned int> >}' does not name a type
SmartPointer__another_type_t sptr2(new SmartPointer__another_type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:381:62: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1(new SmartPointer__type_t::value_type), sptr2(sptr1);
^~~~~~~~~~
Test_SmartPointer.hpp:386:62: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1(new SmartPointer__type_t::value_type), sptr2(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:386:107: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1(new SmartPointer__type_t::value_type), sptr2(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:391:62: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
SmartPointer__type_t sptr1(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:392:78: error: 'value_type' in 'using SmartPointer__another_type_t = class smart_pointer::SmartPointer<long unsigned int, std::allocator<long unsigned int> > {aka class smart_pointer::SmartPointer<long unsigned int, std::allocator<long unsigned int> >}' does not name a type
SmartPointer__another_type_t sptr2(new SmartPointer__another_type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:402:67: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
const SmartPointer__type_t sptr(new SmartPointer__type_t::value_type);
^~~~~~~~~~
Test_SmartPointer.hpp:408:52: error: 'value_type' in 'using SmartPointer__type_t = class smart_pointer::SmartPointer<float, std::allocator<float> > {aka class smart_pointer::SmartPointer<float, std::allocator<float> >}' does not name a type
lst.emplace_back(new SmartPointer__type_t::value_type);
^~~~~~~~~~
|