MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / not_isempty

Class not_isempty

src/backward.h:3811–3816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3809 // and define this one here because C++98 is not happy with local defined
3810 // struct passed to template functions, fuuuu.
3811 struct not_isempty {
3812 bool operator()(const lines_t::value_type& p)
3813 {
3814 return !(std::find_if(p.second.begin(), p.second.end(), not_isspace()) == p.second.end());
3815 }
3816 };
3817
3818 void swap(SourceFile& b) { _file.swap(b._file); }
3819

Callers 1

SourceFileClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected