Do CMake properly
This commit is contained in:
1 parent
53697d4a36
commit
6ce85550f3
20 files changed
+32
-21
No files matched your search
@@ -1,5 +1,5 @@
|
||||
#include "catch.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
TEST_CASE("Assignment value", "[assignment.value]") {
|
||||
tl::optional<int> o1 = 42;
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include "catch.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
// Old versions of GCC don't have the correct trait names. Could fix them up if needs be.
|
||||
#if (defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ <= 9 && \
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include "catch.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
#define TOKENPASTE(x, y) x##y
|
||||
#define TOKENPASTE2(x, y) TOKENPASTE(x, y)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "catch.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <tl/optional.hpp>
|
||||
#include <vector>
|
||||
|
||||
struct foo {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include "catch.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <tl/optional.hpp>
|
||||
#include <utility>
|
||||
#include <tuple>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "catch.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <tl/optional.hpp>
|
||||
#include <string>
|
||||
|
||||
#define TOKENPASTE(x, y) x##y
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "catch.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
TEST_CASE("Hashing", "[hash]") {}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include "catch.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
#include <tuple>
|
||||
#include <vector>
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include "catch.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <tl/optional.hpp>
|
||||
#include <type_traits>
|
||||
|
||||
struct foo{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "catch.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
#include <tuple>
|
||||
#include <vector>
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include "catch.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
TEST_CASE("Noexcept", "[noexcept]") {
|
||||
tl::optional<int> o1{4};
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include "catch.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
TEST_CASE("Nullopt", "[nullopt]") {
|
||||
tl::optional<int> o1 = tl::nullopt;
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include "catch.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
struct move_detector {
|
||||
move_detector() = default;
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#include "catch.hpp"
|
||||
#include "optional.hpp"
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
TEST_CASE("Relational ops", "[relops]") {
|
||||
tl::optional<int> o1{4};
|
||||
|
||||
Reference in new issue
Block a user