Skip to content

MCPGNZ/linq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

linq v0.1.1

Wannabe fast and simple in use LINQ implementation in C++,

Supported containers

  • vector
  • array
  • list

Features

  • basic type checking for passed lambda expresions

Operations

  • where
  • select
  • foreach
  • any
  • all
  • contains
  • sum
  • min
  • max
  • count

Usage

std::vector<int> v = {1, 2, 3, 4, 5};

auto where_result = v >> where([&](const int& value){ return value > 2; });
auto select_result = v >> select([&](const int& value){ return value % 2 == 0; });
v >> foreach([](int& x){ x *= 2; })

About

LINQ implementation for C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages