error: no member named 'emplace' in 'std::__debug::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >'
Why is std::map::emplace() is not available?
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CANpxZAzC3Hra_sRAeH-Ei2r%2BAWsodfogYUjcR0RsvudO4x1qmw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAKqK8Mnz32Cwdk6g3hxOCx2-Lh3qhtYAcs6Mm2XoCw5pB9UY2g%40mail.gmail.com.
Are you building on Linux with the default sysroot? Maybe because of the old version of libstdc++ in the wheezy sysroot? You can try the use_sysroot = false gn flag and see if that changes anything. The default sysroot is being updated from wheezy to jessie but I don't know the current status of that.
Are you building on Linux with the default sysroot? Maybe because of the old version of libstdc++ in the wheezy sysroot? You can try the use_sysroot = false gn flag and see if that changes anything. The default sysroot is being updated from wheezy to jessie but I don't know the current status of that.
http://crbug.com/701894 got fixed in the meantime, meaning |std::map::emplace| is available now on all platforms. Here is a quick proof of concept: http://crrev.com/2838553002
I suppose we should update https://chromium-cpp.appspot.com/ and drop the corresponding sentence, what do you think?
PK
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAAHOzFBJ5%2B2zzVko%2BCEtbFwkSe5R-paBb_Dvb0ewH19AgTn1nA%40mail.gmail.com.