soheilhy / fn Goto Github PK
View Code? Open in Web Editor NEWScala-like functional programming helpers for C++11.
License: Apache License 2.0
Scala-like functional programming helpers for C++11.
License: Apache License 2.0
This library you made seemed really useful; however, I am having trouble incorporating it into my project. When I try to compile, I get a slew of errors. I am currently using C++14. Any help with this would be greatly appreciated! Here are the errors:
Severity Code Description Project File Line Suppression State
Error C2988 unrecognizable template declaration/definition (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 101
Error C2143 syntax error: missing ';' before 'const' (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 101
Error C2238 unexpected token(s) preceding ';' (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 101
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 101
Error C2059 syntax error: '' (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 101
Error C2651 'unknown-type': left of '::' must be a class, struct or union (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 105
Error C2062 type 'unknown-type' unexpected (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 106
Error C2039 'value_type': is not a member of '`global namespace'' (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 105
Error C2988 unrecognizable template declaration/definition (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 106
Error C2143 syntax error: missing ';' before 'const' (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 106
Error C2238 unexpected token(s) preceding ';' (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 106
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 106
Error C2059 syntax error: '' (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 106
Error C2988 unrecognizable template declaration/definition (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 225
Error C2143 syntax error: missing ';' before 'const' (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 225
Error C2238 unexpected token(s) preceding ';' (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 225
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 225
Error C2059 syntax error: '' (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 225
Error C2535 'void fn::View<std::vector,int,fn::details::Copy,void *,std::function<void (void)>,fn::details::FuncType::FILTER>::do_evaluate(G) const': member function already defined or declared (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 291
Error C2535 'void fn::View<std::vector,int,fn::details::Copy,void *,std::function<void (void)>,fn::details::FuncType::FILTER>::do_evaluate(G) const': member function already defined or declared (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 297
Error C2535 'void fn::View<std::vector,int,fn::details::Copy,void *,std::function<void (void)>,fn::details::FuncType::FILTER>::do_evaluate(G) const': member function already defined or declared (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 303
Error C2535 'void fn::View<std::vector,int,fn::details::Copy,void *,std::function<void (void)>,fn::details::FuncType::FILTER>::do_evaluate(G) const': member function already defined or declared (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 309
Error C2535 'void fn::View<std::vector,int,fn::details::Copy,void *,std::function<void (void)>,fn::details::FuncType::FILTER>::do_evaluate(G) const': member function already defined or declared (compiling source file ....\Source\Main.cpp) WavetableExperiment_ConsoleApp D:\Developer\Libraries\fn-master\include\fn\fn.h 315
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.