Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

yuushimizu/placeholder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

placeholder

placeholder is an C++17(or C++1z) library to create functions by short syntax.

usage

Include placeholder/placeholder.hpp

#include <placeholder/placeholder.hpp>

example

using placeholder::_;

auto add5 = _ + 5;
add5(10); // => 15

auto eq3 = _ == 3;
eq3(3); // => true

auto even = _ % 2 == 0;
even(8); // => true

About

C++17 library for short syntax function

Resources

Stars

Watchers

Forks

Packages

No packages published