Skip to content
Snippets Groups Projects
Commit 01226975 authored by bedapisl's avatar bedapisl Committed by Jesse Beder
Browse files

Improve error messages on operator[] or as<> (#656)

Invalid access via operator[] or as<> will now print the offending key, if possible.

For example:

a:
  x: 1
  y: 2

node["a"]["z"].as<int>()

will say that the key "z" was invalid.
parent bd7f8c60
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment