diff options
-rw-r--r-- | butl/const-ptr | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/butl/const-ptr b/butl/const-ptr index 23686bc..971e929 100644 --- a/butl/const-ptr +++ b/butl/const-ptr @@ -33,6 +33,9 @@ namespace butl // Note that due to this semantics, copy construction/assignment requires // a non-const instance of const_ptr. // + // Note that this type is standard layout (which means we can reinterpret + // it as a raw pointer). + // // Known drawbacks/issues: // // 1. Cannot do static_cast<mytree*> (x.left). |