]> git.saurik.com Git - bison.git/commit
variants: assert changes
authorTheophile Ranquet <ranquet@lrde.epita.fr>
Fri, 21 Dec 2012 15:48:54 +0000 (16:48 +0100)
committerTheophile Ranquet <ranquet@lrde.epita.fr>
Fri, 11 Jan 2013 17:57:08 +0000 (18:57 +0100)
commitbb1f0f52264dffe36595c65cde310ce965ec1df6
tree8a7f4ce93c1d41e5d6815d479d4a594cab2c2a66
parente7b26e942d1466974e40a70a30d9044c4a90fd85
variants: assert changes

* data/variant.hh (swap): More asserts can't hurt. Don't perform useless swaps.
(build): Deactivate problematic asserts, pending further investigation.
(variant): Prohibit copy construction.
data/variant.hh