[#CSubNet-2constructor-0f]
= xref:CSubNet.adoc[CSubNet]::CSubNet
:relfileprefix: ../
:mrdocs:

Construct a single&hyphen;host subnet&period;

== Synopsis

Declared in `&lt;netaddress&period;h&gt;`

[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&hyphen;IPv&lsqb;46&rsqb;&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
