12 Jun
2015
12 Jun
'15
3:46 p.m.
I am probably missing something, but can't you check that the first element of every pair going into the map is a compile-time constant. « []
No, because not only compile-time constants can be used as the keys of a Map.
Yes, but as a simple smoke screen, you could always check that the key compared against itself will return an `IntregralConstant`. That should always be required to be valid, and it would help catch errors earlier on. Paul -- View this message in context: http://boost.2283326.n4.nabble.com/Boost-Hana-Announcing-Hana-s-formal-revie... Sent from the Boost - Dev mailing list archive at Nabble.com.