eao197

Results 170 comments of eao197

> Shouldn't this be wrapped in a conditional for tests, samples or somesuch? Yes, I think we can do something like that. But it can take some time because we...

> And pretty much the same thing for PCRE/Boost regex. They're both looked for always and I don't think the CMake file actually allows to choose between the two (or...

> Why are there apparently benchmarks (that have another dependency) in the tests folder? I suppose it because we saw these benchmarks as part of test suite.

I've added an option `RESTINIO_ALLOW_SOBJECTIZER` to the main CMakeLists.txt. If that option is `OFF` then `add_subdirectory(so_5)` won't be used. It allows to run cmake that way: ```sh cmake -DRESTINIO_TEST=OFF \...

I think there are several possible choices: **1**. You can wrap your request handlers in some wrapper. Something like: ```cpp restinio::default_request_handler_t wrap_handler(restinio::default_request_handler_t handler) { return [handler](restinio::request_handle_t req) -> restinio::request_handling_status_t {...

> We can't use throw; due to MS-specific behaviour on 64-bit systems: https://social.msdn.microsoft.com/Forums/vstudio/en-us/f4ccad43-4fb4-4760-9d48-b4c883c2e550/call-stack-throw-and-64-bit There are stack loss on throw; I think you speak about losing the stack on rethrowing an...

If someone interested in this topic: [here is](https://github.com/eao197/procyy) my attempt to reincarnate procxx library under the name procyy.

> Да, но обычно описание ошибки генерируют в рантайме, Это далеко не всегда так. Бывают случаи когда проверяются аргументы функции/метода: ```cpp void do_something(const some_type * target, int retries) { if(!target)...

> в https://github.com/cpp-ru/ideas/issues/263 есть ссылка на предложение 0506 Я так понимаю, что судьба этого предложения печальна. Раз с 2017-го года никаких подвижек нет.

По факту стандартные исключения не могут получать std::string_view, хотя это было бы полезно. И логично, раз уж в C++17 добавили этот самый std::string_view.