| 396 | /// \sa Boxed_Value::is_const |
| 397 | template<typename T> |
| 398 | Boxed_Value const_var_impl(const T &t) |
| 399 | { |
| 400 | return Boxed_Value(std::make_shared<typename std::add_const<T>::type >(t)); |
| 401 | } |
| 402 | |
| 403 | /// \brief Takes a pointer to a value, adds const to the pointed to type and returns an immutable Boxed_Value. |
| 404 | /// Does not copy the pointed to value. |
no test coverage detected