Euphoria
falsestring.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 #include <ostream>
5 
6 namespace eu::tests
7 {
9  struct FalseString
10  {
11  std::string str;
12 
13  static FalseString create_false(const std::string& text);
14  static FalseString create_true();
15 
16  operator bool() const;
17  };
18 
19  std::ostream& operator<<(std::ostream& s, const FalseString& f);
20 }
std::ostream & operator<<(std::ostream &stream, const custom::Approx< T > &v)
Definition: approx.h:118
represents a error (false) or empty string (true)
Definition: falsestring.h:10
static FalseString create_true()
Definition: falsestring.cc:13
static FalseString create_false(const std::string &text)
Definition: falsestring.cc:6