# The needed includes for variants support.
m4_define([b4_variant_includes],
[b4_parse_assert_if([[#include <typeinfo>]])[
-#include <cstdlib> // abort
#ifndef YYASSERT
# include <cassert>
# define YYASSERT assert
tname = YY_NULL;])[
}
+ private:
/// Prohibit blind copies.
- private:
- self_type& operator=(const self_type&)
- {
- abort ();
- }
+ self_type& operator=(const self_type&);
+ variant (const self_type&);
- variant (const self_type&)
- {
- abort ();
- }
-
- private:
/// A buffer large enough to store any of the semantic values.
/// Long double is chosen as it has the strongest alignment
/// constraints.