#pragma once // system headers #include namespace linuxdeploy { namespace util { namespace assert { template void assert_not_empty(T container) { if (container.empty()) { throw std::invalid_argument{"container must not be empty"}; } } } } }