Merge pull request #7 from BlackMATov/dev

add copyright headers
This commit is contained in:
BlackMat MATov
2018-12-10 17:04:25 +07:00
committed by GitHub
2 changed files with 15 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
/*******************************************************************************
* This file is part of the "kari.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018 Matvey Cherevko
******************************************************************************/
#pragma once
#include <tuple>
@@ -666,7 +672,7 @@ namespace kari
KARI_HPP_DEFINE_UNDERSCORE_BINARY_OP(> , std::greater<>())
KARI_HPP_DEFINE_UNDERSCORE_BINARY_OP(<=, std::less_equal<>())
KARI_HPP_DEFINE_UNDERSCORE_BINARY_OP(>=, std::greater_equal<>())
KARI_HPP_DEFINE_UNDERSCORE_BINARY_OP(==, std::equal_to<>())
KARI_HPP_DEFINE_UNDERSCORE_BINARY_OP(!=, std::not_equal_to<>())

View File

@@ -1,3 +1,9 @@
/*******************************************************************************
* This file is part of the "kari.hpp"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018 Matvey Cherevko
******************************************************************************/
#define CATCH_CONFIG_MAIN
#include "catch.hpp"
@@ -709,11 +715,11 @@ TEST_CASE("kari_details") {
}
SECTION("is_invocable") {
using namespace kari::detail;
const auto f1 = [](int i, int j){
return i + j;
};
const auto f2 = [](int i, int j) noexcept {
return i + j;
};