Shivendra Agarwal

Results 6 comments of Shivendra Agarwal

Any clue why this is not evaluating to constant expression `constexpr frozen::unordered_map fum{kPairs};` https://github.com/shivendra14/fixed_container/blob/7a8209a2b0cd191e49a55fad60824a7687fd3402/app/main.cpp#L20

@degski: okay.. any clue, where am I exceeding integral limit, and how to fix that?

Well I have my code opensourced at: https://github.com/shivendra14/fixed_container/blob/7a8209a2b0cd191e49a55fad60824a7687fd3402/app/main.cpp#L20 Its quite disappointing bug, since I am not able to use unordered _map at all provided in this library.

ok. But there is more to this bug. Its not just about large number of elements. This attempt to make constexpr unordered_map causes warning even for just a single entry....

https://stackoverflow.com/questions/8831143/windows-api-ansi-functions-and-utf-8 Can somebody help to fix this `CreateFileA` and add support of UTF8

This is the code fix I have done locally to make this work: ``` std::wstring s2ws(const std::string& s) { int slength = (int)s.length() + 1; int len = MultiByteToWideChar(CP_UTF8, 0,...