Author
anonymous
almost 8 years ago
Language
Compiler
Options
Author
anonymous
almost 8 years ago
$
prog.cc:196:25: error: no member named 'RectSize' in 'slt::RectPacker2D<int, std::__1::allocator<char> >'
std::vector<packer_t::RectSize> data;
~~~~~~~~~~^
prog.cc:196:35: error: C++ requires a type specifier for all declarations
std::vector<packer_t::RectSize> data;
^
prog.cc:201:33: error: no member named 'RectSize' in 'slt::RectPacker2D<int, std::__1::allocator<char> >'
data.emplace_back(packer_t::RectSize{{ w, h}});
~~~~~~~~~~^
prog.cc:204:62: error: no member named 'RectSize' in 'slt::RectPacker2D<int, std::__1::allocator<char> >'
std::sort(data.begin(), data.end(), std::greater<packer_t::RectSize>());
~~~~~~~~~~^
4 errors generated.
Exit Code:
1