Minor documentation fix
[senf.git] / Socket / Protocols / INet / INet6Address.hh
index 2b93f7b..097022b 100644 (file)
@@ -81,6 +81,12 @@ namespace senf {
 
         \see CheckINet6Network Helper to check address against an arbitrary fixed network prefix
         \ingroup addr_group
+
+        \implementation We awkwardly need to use static named constructors (<tt>from_</tt> members)
+            instead of ordinarily overloaded constructors for one simple reason: <tt>char *</tt>
+            doubles as string literal and as arbitrary data iterator. The iterator constructor can
+            therefore not be distinguished from initialization with a string literal. Therefore we
+            need to disambiguate using the named constructors.
      */
     class INet6Address
         : public boost::array<boost::uint8_t,16>,