[#CSubNet-2constructor-0f] = xref:CSubNet.adoc[CSubNet]::CSubNet :relfileprefix: ../ :mrdocs: Construct a single‐host subnet. == Synopsis Declared in `<netaddress.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit CSubNet(xref:CNetAddr.adoc[CNetAddr] const& addr); ---- == Parameters [cols="1,4"] |=== | Name| Description | *addr* [in] | The sole address to be contained in the subnet, can also be non‐IPv[46]. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#