Skip to content

retrieving kdl::Value as std::string - #23

Open
lukasx999 wants to merge 1 commit into
tjol:mainfrom
lukasx999:main
Open

lukasx999 wants to merge 1 commit into
tjol:mainfrom
lukasx999:main

Conversation

@lukasx999

Copy link
Copy Markdown

I added a case in kdl::Value::as<T>(), which copies the interal std::u8string into a regular std::string. The reason is that its very annoying to work with u8strings in a codebase that otherwise uses regular strings, so having the option to retrieve the value as a std::string would be quite nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant