Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.markdown

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

Packages

No packages published

Languages