diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-10 12:08:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-10 12:08:33 +0200 |
commit | 66ca47f856cc04774cbe07dc67e2e099e5d527f3 (patch) | |
tree | eac23aebc924f0bc8fd24c2f9d6cf249a174dba0 /butl/const-ptr | |
parent | 0b383b72841e4af2890d082e4caed3119484fe95 (diff) |
Cosmetic changes
Diffstat (limited to 'butl/const-ptr')
-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). |