Jason Rhinelander
613541947a
Fix scoped enums and add scoped enum example
...
PR #309 broke scoped enums, which failed to compile because the added:
value == value2
comparison isn't valid for a scoped enum (they aren't implicitly
convertible to the underlying type). This commit fixes it by
explicitly converting the enum value to its underlying type before
doing the comparison.
It also adds a scoped enum example to the constants-and-functions
example that triggers the problem fixed in this commit.
2016-08-04 00:01:39 -04:00
..
2016-07-30 17:18:33 +02:00
2016-08-03 16:50:22 -04:00
2016-08-03 16:50:22 -04:00
2016-08-03 16:50:22 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-08-04 00:01:39 -04:00
2016-08-04 00:01:39 -04:00
2016-08-04 00:01:39 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-19 17:35:09 +02:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2015-10-15 18:23:56 +02:00
2016-07-17 17:47:05 -04:00
2016-07-17 17:47:05 -04:00
2016-07-17 17:47:05 -04:00
2015-07-09 15:27:32 +02:00
2016-07-18 16:43:18 -04:00