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