blob: 36d6049d27ea213b55c876826bb2868bda140f58 [file] [log] [blame]
William A. Kennington III14dd4eb2023-01-12 10:51:12 -08001#include <fmt/format.h>
2
3#include <stdplus/net/addr/subnet.hpp>
4
5#include <stdexcept>
6
7namespace stdplus::detail
8{
9
10void invalidSubnetPfx(std::size_t pfx)
11{
12 throw std::invalid_argument(fmt::format("Invalid subnet prefix {}", pfx));
13}
14
15template class Subnet46<In4Addr, uint8_t>;
16template class Subnet46<In6Addr, uint8_t>;
17
18} // namespace stdplus::detail