Created
April 6, 2017 22:45
-
-
Save hia3/b58d9aa0c827d064457dbdc7268e81a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <boost/hana/set.hpp> | |
#include <boost/hana/tuple.hpp> | |
#include <boost/hana/type.hpp> | |
int main() | |
{ | |
boost::hana::tuple<boost::hana::type<int>, boost::hana::type<char>> t; | |
auto set_types = boost::hana::to_set(t); | |
// runtime error: constructor call on address 0x003fde6ff8a2 with insufficient space for an object of type | |
// 'boost::hana::detail::elt<1, boost::hana::type_impl<char>::_, true>' | |
// 0x003fde6ff8a2: note: pointer points here | |
// 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 01 34 ad d1 12 12 00 00 56 17 25 cf f7 7f | |
// ^ | |
// SUMMARY: AddressSanitizer: undefined-behavior | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment