aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-02-10 12:08:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-02-10 12:08:33 +0200
commit66ca47f856cc04774cbe07dc67e2e099e5d527f3 (patch)
treeeac23aebc924f0bc8fd24c2f9d6cf249a174dba0
parent0b383b72841e4af2890d082e4caed3119484fe95 (diff)
Cosmetic changes
-rw-r--r--butl/const-ptr3
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).