diff --git a/include/rfl/Box.hpp b/include/rfl/Box.hpp index deb39a48..372b1f28 100644 --- a/include/rfl/Box.hpp +++ b/include/rfl/Box.hpp @@ -7,7 +7,9 @@ namespace rfl { /// The Box class behaves very similarly to the unique_ptr, but unlike the -/// unique_ptr, it is 100% guaranteed to be filled at all times. +/// unique_ptr, it is 100% guaranteed to be filled at all times (unless the user +/// tries to access it after calling std::move does something else that is +/// clearly bad practice). template class Box { public: diff --git a/include/rfl/Ref.hpp b/include/rfl/Ref.hpp index df3b5667..6bda2e02 100644 --- a/include/rfl/Ref.hpp +++ b/include/rfl/Ref.hpp @@ -7,7 +7,9 @@ namespace rfl { /// The Ref class behaves very similarly to the shared_ptr, but unlike the -/// shared_ptr, it is 100% guaranteed to be filled at all times. +/// unique_ptr, it is 100% guaranteed to be filled at all times (unless the user +/// tries to access it after calling std::move does something else that is +/// clearly bad practice). template class Ref { public: