8000 GitHub - Aurora-Community/fcppt: Freundlich's C++ toolkit
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Aurora-Community/fcppt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fcppt

About

Freundlich's C++ Toolkit (fcppt) is a collection of libraries that aim to improve general C++ code through better typing and functional programming.

License

Boost Software License

Documentation

fcppt.org

Dependencies

Required

Optional

Build

The build uses CMake. See our Build Guide.

Code example

void print_at_2(std::vector<int> const &_vec)
{
  fcppt::optional::reference<int const> ref{
    fcppt::container::at_optional(_vec, 2)
  };

  fcppt::optional::maybe(
    ref,
    []{ std::cout << "No value at position 2\n"; },
    [](fcppt::reference<int const> _value) { std::cout << "The value is " << _value.get() << '\n'; }
  );
}

Contact

You can contact us via our IRC channel

#sge-sanguis

at

irc.freenode.net

About

Freundlich's C++ toolkit

Resources

License

Stars

Watchers

Forks

Packages

No packages published
31DE

Languages

  • C++ 93.8%
  • CMake 5.6%
  • Other 0.6%
0