File FormattedString.h¶
- Copyright
This code is licensed under the 3-clause BSD license.
Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.
See LICENSE.txt for details.
-
namespace
Scine
This header file contains functions that allow for common notation for common things that can be done at a different degree of derivatives.
This header contains alias definitions defining which classes to use for the different degrees of derivatives.
-
namespace
Utils
Functions
-
template<typename ...
Args
>
std::stringformat
(const std::string &format, Args... args)¶ Generates a std::string from a format expression.
Note that std::string arguments for ‘s’ expressions need to be given as ‘char*’ e.g. ‘foo’ as ‘foo.c_str()’.
- Return
std::string The resulting string.
- Template Parameters
Args
: The variable types to be formatted.
- Parameters
format
: The string containing format identifiers.args
: The variables to be formatted.
-
template<typename ...
-
namespace