src/value.cpp
/*!
 * \fn Value(const Value& other)
 * \brief constructs a new reference to a value
 * 
 * Note that because Value is implicitly shared, this does not copy 
 * the underlying value but rather the pointer to the value.
 * 
 * Use Engine::copy() to create a true copy of the value.
 */
\fn Value(const Value& other)
\brief constructs a new reference to a value

Note that because Value is implicitly shared, this does not copy
the underlying value but rather the pointer to the value.

Use Engine::copy() to create a true copy of the value.
\ fn Value ( const Value& other ) \ brief constructs a new reference to a value Note that because Value is implicitly shared this does not copy the underlying value but rather the pointer to the value . Use Engine :: copy () to create a true copy of the value .
Value::Value(const Value& other)
  : d(other.d)
{
  if (d)
    d->ref += 1;
}
Value :: Value ( const Value & other ) : d ( other . d ) { if ( d ) d -> ref += 1 ; }
\fn Value(const Value& other)
 \brief constructs a new reference to a value
\ fn Value ( const Value& other ) \ brief constructs a new reference to a value