cleanup after #184

This commit is contained in:
Niels 2016-01-20 21:14:58 +01:00
parent 663ad13fc3
commit a04bd4f851
7 changed files with 103 additions and 58 deletions

View file

@ -13,13 +13,13 @@ int main()
// print the values
std::cout << r1 << ' ' << r2 << '\n';
// incompatible type throws exception
try
{
auto r3 = value.get_ref<json::number_float_t&>();
}
catch(std::domain_error& ex)
catch (std::domain_error& ex)
{
std::cout << ex.what() << '\n';
}

View file

@ -0,0 +1 @@
<a target="_blank" href="http://melpon.org/wandbox/permlink/nBNBANVonG9HCQqQ"><b>online</b></a>

View file

@ -0,0 +1,2 @@
17 17
incompatible ReferenceType for get_ref, actual type is number