diff --git a/doc/dev/util.rst b/doc/dev/util.rst index e2f40d722830df31014b6ff0f226d2363c8504d2..7db0d6f1803e39d2c39df9003a92c60266b3de81 100644 --- a/doc/dev/util.rst +++ b/doc/dev/util.rst @@ -7,7 +7,7 @@ Utility wrappers and containers .. cpp:class:: unique_any - A container for a single value of any type that is move constructable. + A container for a single value of any type that is move constructible. Used in the Arbor API where a type of a value passed to or from the API is decided at run time. @@ -19,7 +19,7 @@ Utility wrappers and containers Retrieve the pointer as type T. If T is ``void *`` or the same as the type of the pointer stored in ``any_ptr``, return the held - value, cast accordingly. Otherwise return ``nullptr``. + value and cast accordingly. Otherwise, return ``nullptr``. ``any_ptr`` can be used with ``util::any_cast``, so that ``util::any_cast<T>(p)`` is equivalent to ``p.as<T>()`` for a value ``p``