|
Boost.PythonDereferenceable Concept |
Instances of a dereferenceable type can be used like a pointer to access an lvalue.
In the table below, x
denotes an object whose
type is a model of Dereferenceable.
Expression | Requirements |
*x |
An lvalue |
x
is not a pointer type, it also must satsify the following expression:
Expression | Operational Semantics |
x.get() |
&*x , or a null pointer
|
Revised 29 November, 2002
© Copyright Dave Abrahams 2002. All Rights Reserved.
Permission to copy, use, modify, sell and distribute this software is granted provided this copyright notice appears in all copies. This software is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.