ryanhaining / cppitertools

Implementation of python itertools and builtin iteration functions for C++17
https://twitter.com/cppitertools
BSD 2-Clause "Simplified" License
1.37k stars 115 forks source link

Fix OSX build #19

Closed jkhoogland closed 9 years ago

jkhoogland commented 9 years ago

for what it is worth, i had to replace the std::mem_fun call with a little helper function to get it compiling on OSX regards Jiri

ryanhaining commented 9 years ago

Sorry, I must have missed the email notification about this. I'll look into this and see if I can figure out why it isn't compiling for you and probably merge. Thanks a lot for finding a solution

ryanhaining commented 9 years ago

this seems to actually be a problem with libc++'s &std::mem_fn with const member functions that has since been fixed. Worth fixing for Mac compatibility though. thanks