Stan  2.14.0
probability, sampling & optimization
ends_with.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_FUN_ENDS_WITH_HPP
2 #define STAN_LANG_AST_FUN_ENDS_WITH_HPP
3 
4 #include <string>
5 
6 namespace stan {
7  namespace lang {
8 
17  bool ends_with(const std::string& suffix, const std::string& s);
18 
19  }
20 }
21 #endif
Probability, optimization and sampling library.
bool ends_with(const std::string &suffix, const std::string &s)
Returns true if the specified suffix appears at the end of the specified string.

     [ Stan Home Page ] © 2011–2016, Stan Development Team.