* data/lalr1-fusion.cc (variant::build): Return a reference to the
object.
+2008-11-03 Akim Demaille <demaille@gostai.com>
+
+ Let yy::variant::build return an lvalue.
+ * data/lalr1-fusion.cc (variant::build): Return a reference to the
+ object.
+
2008-11-03 Akim Demaille <demaille@gostai.com>
Define yy::variant only when needed.
2008-11-03 Akim Demaille <demaille@gostai.com>
Define yy::variant only when needed.
{
/// Instantiate a \a T in here.
template <typename T>
{
/// Instantiate a \a T in here.
template <typename T>
+ return *new (buffer) T;
}
/// Destroy the stored \a T.
}
/// Destroy the stored \a T.