Jason Turner

Results 167 comments of Jason Turner

Example: https://compiler-explorer.com/z/9rn6oo149

See: https://compiler-explorer.com/z/sh45aaj98

What happens if we take this header and just make it `constexpr`ified and use pmr in a constexpr context? https://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00134_source.html Possible hiccup: how to not move the underlying storage? The...

Notes and links: https://channelf.se/veswiki/index.php?title=Pinouts https://en.wikipedia.org/wiki/Fairchild_Channel_F https://en.wikipedia.org/wiki/Fairchild_Channel_F_Videocarts https://console5.com/techwiki/images/9/97/Fairchild-Channel-F-Schematic---Page-1.png https://www.retrogamingconsoles.com/consoles/fairchild-channel-f/ https://vglegacy.com/hardware/fairchild-channel-f/ https://archive.org/details/Fairchild_VES_Service_Manual_1976_Fairchild/page/n1/mode/2up https://en.wikipedia.org/wiki/Fairchild_F8 http://www.antiquetech.com/?page_id=663 http://bitsavers.trailing-edge.com/components/fairchild/f8/Fairchild_Semiconductor_-_F8_Microprocessor_brochure_-_1975.pdf http://datasheets.chipdb.org/Fairchild/F8/fairchild-3850.pdf

`std::stof` and `std::stod` use the currently set locale, which means that number parsing breaks if the locale is set to a European one where `,` is used for the decimal...

Certainly if you have time to look into it let me know. My guess is that the floating point literal is directly converted into some native representation inside the compiler...

Ah right, `from_chars` I actually have two branches open right now that have fully moved to C++17, I should deploy that there.

If I'm understanding the issue, the main problem is that function guards are actually pretty slow to execute. They take the code down a different path that requires testing against...

Did you find the answer you were looking for? That is not currently supported, no. Doing it well, with virtual support, for instance, would be difficult, but I will ponder...

Here is a complete example for how to do it yourself https://gist.github.com/lefticus/65a6c23714537196a541 It will be difficult to automated since ChaiScript does not have any kind of code generator like, for...