Ticket #5487: nullptr_t_in_variant.cpp

File nullptr_t_in_variant.cpp, 141 bytes (added by dd0t@…, 12 years ago)

Minimal example reproducing the problem

Line 
1#include <boost/variant.hpp>
2
3int main() {
4 boost::variant<std::nullptr_t> npt(nullptr);
5 boost::get<std::nullptr_t>(npt);
6 return 0;
7}