Paul Fultz II

Results 212 comments of Paul Fultz II

I am thinking of generalizing it over the visitors themselves rather than just a `variant`. So instead of `variant` it would be `({Ts...} -> R) -> R`. So for an...

Ok, so I haven't tested any code yet, but I was thinking something like this: ``` cpp // Turn a single value into a visitor auto make_visitor = partial(flip(apply)); //...

Looking at this more, I don't think implementing visitors using a monad gains anything. Ultimately, its just function composition within composition(its like `.(.).` in haskell, I believe). Writing this in...

> tricks with globals and external linkage I am not using any external linkage for global variables. Its all `static` or internal linkage. > Has this library been tested with...

> I tried to 'emulate' a global with external linkage in a header-only library using a static member function of a class template I use this on other compilers except...

So it looks like clang on windows defines `_MSC_VER` on windows. This should be easy to fix for `BOOST_HOF_LIFT`. The other issues I am not sure what the error is....

> It is however extremely straight forward to drop LLVM/Clang into Visual Studio these days. I dont have access to windows. Although, clang is portable and will run on any...

Yea, this looks like this broke with the rename to boost. This line is supposed to install the fit.hpp header, but its not necessary when moved under the boost directory.

Ah, and this was caught by travis: https://travis-ci.org/pfultz2/Fit/jobs/273190517#L4119