| 368 | #ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES |
| 369 | template<class Expr, class ExprPtr> |
| 370 | void assign_expr ( Expr&& expr, ExprPtr const* tag ) |
| 371 | { |
| 372 | if (is_initialized()) |
| 373 | assign_expr_to_initialized(boost::forward<Expr>(expr),tag); |
| 374 | else construct(boost::forward<Expr>(expr),tag); |
| 375 | } |
| 376 | #else |
| 377 | template<class Expr> |
| 378 | void assign_expr ( Expr const& expr, Expr const* tag ) |
no test coverage detected