mrange / cpplinq

LINQ for C++ (cpplinq) is an extensible C++11 library of higher-order functions for range manipulation. cpplinq draws inspiration from LINQ for C#.
http://cpplinq.codeplex.com/
Other
183 stars 40 forks source link

'void' illegal with all types #10

Closed johmarjac closed 5 years ago

johmarjac commented 5 years ago

Hi,

I cannot compile my project when I include the cpplinq.hpp header. It shows me the above error. The compilation error tells me the following two lines:

https://github.com/mrange/cpplinq/blob/master/CppLinq/cpplinq.hpp#L941

and

https://github.com/mrange/cpplinq/blob/master/CppLinq/cpplinq.hpp#L945

What can I do?

Edit: Oh I just saw when I uncomment my using of cpplinq it works, so its my fault. I figured itout.