xtd 0.2.0
Loading...
Searching...
No Matches
operator_value.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "actual_value.hpp"
6
8namespace xtd {
10 namespace tunit {
12 template<class actual_t> class does_not_value;
13 template<class actual_t> class does_value;
14 template<class actual_t> class is_not_value;
15 template<class actual_t> class is_value;
17
19 namespace constraints {
20 template<class actual_t>
21 class operator_value : public actual_value<actual_t> {
22 public:
24
26 inline auto and_();
28
29 protected:
31
33 operator_value() = default;
34 operator_value(actual_value<actual_t>&& v) : actual_value<actual_t> {std::move(v)} {}
35 operator_value(const actual_value<actual_t>& v) : actual_value<actual_t> {v} {}
37
38 private:
39 template<class value_t> friend class does_not_value;
40 template<class value_t> friend class does_value;
41 template<class value_t> friend class is_not_value;
42 template<class value_t> friend class is_value;
43 };
44 }
45 }
46}
Contains xtd::tunit::constraints::actual_value class.
@ v
The V key.
Definition console_key.hpp:130
The constraints namespace contains the constraint-based assert model.
Definition actual_value.hpp:12
The tunit namespace contains a unit test library.
Definition abort_error.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8