Sprout icon indicating copy to clipboard operation
Sprout copied to clipboard

C++11/14 constexpr based Containers, Algorithms, Random numbers, Parsing, Ray tracing, Synthesizer, and others.

Results 12 Sprout issues
Sort by recently updated
recently updated
newest added

Building with Clang 9.0.1 on Manjaro Linux, I'm getting the result that `sprout::pow(8, 4)` is equal to 4095 instead of 4096. Am I dumb, or is there a problem here?...

Hello all. This is a grim issue indeed. Unfortunately, Bolero Murakami passed away in February of this year. Since repository access is not publicly visible, does someone still have access...

`std::is_literal_type` was deprecated in C++17 and removed in C++20. [Section [diff.cpp17.depr]/7](https://eel.is/c++draft/diff.cpp17.depr#7) of the C++20 Working Draft explains: > The traits had unreliable or awkward interfaces. The `is_­literal_­type` trait provided no...

Hi, I'm a compiler developer from Microsoft. We build lots of RWC (real world code) projects daily to validate compiler changes and we also use the projects to identify areas...

We failed to build Sprout on x86 due to error C2923 and C2955 with MSVC. This issue can be reproduced on latest commit ea06f92. It seems that 'I' is not...

Visual Studio 2017から`/std:[c++14|c++17|c++latest]`オプションが追加され、これにより`_MSVC_LANG`の値が変化します。 ref: - [-std (Specify Language Standard Version) | Microsoft Docs](https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version) - [Predefined Macros | Microsoft Docs](https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros) - [visual c++ - Which values can _MSVC_LANG have? - Stack...

Hi I have an error (see below) building sprout with gcc6.3 on archlinux 64 bit: (out of source build) [derkalt@Arch64 Sprout]$ cmake -G "Unix Makefiles" ../../lib/Sprout -- The C compiler...

[`sprout::enabler_if`](https://github.com/bolero-MURAKAMI/Sprout/blob/master/sprout/type_traits/enabler_if.hpp#L31) を使用する場合は以下のような感じになるので、[`sprout::enabler`](https://github.com/bolero-MURAKAMI/Sprout/blob/master/sprout/type_traits/enabler_if.hpp#L25) は ODR-used になると思うのですが、[`sprout::enabler`](https://github.com/bolero-MURAKAMI/Sprout/blob/master/sprout/type_traits/enabler_if.hpp#L25) は GCC や clang では定義されません。 ``` cpp #include template void f() {} int main() { f(); } ``` ODR-used のオブジェクトが定義されていないと ill-formed になるので(ただし、no diagnostic required)、GCC や...

[sprout/config/compiler/visualc.hpp](https://github.com/bolero-MURAKAMI/Sprout/blob/844e8a1fc29ab72e27b5165f92c0762177afd096/sprout/config/compiler/visualc.hpp) で現状`constexpr`と`noexcept`が無効化されていますが、`noexcept`はVIsual Studio 2013 November CTPから、C++11の`constexpr`はVisual Studio 2015から対応しているように思います。ついでにC++11の他の機能への対応をまとめると - Visual Studio 2015より対応 - C++11constexpr - User-defined literals - Unicode string literals - VIsual Studio 2013 November CTPより対応 - classのdefault指定 -...

https://github.com/bolero-MURAKAMI/Sprout/blob/master/sprout/variant/variant.hpp shows, on lines 81 and then on lines 52 and 40 that the size of the variant is sizeof(int)+sizeof(tuple. That seems a waste of space to me since other...