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