Merge pull request #18 from BlackMATov/dev

Dev
This commit is contained in:
2019-05-14 19:17:20 +07:00
committed by GitHub
11 changed files with 12 additions and 20 deletions

View File

@@ -25,21 +25,6 @@ matrix:
dist: trusty
addons: { apt: { sources: ["ubuntu-toolchain-r-test", "llvm-toolchain-trusty-8"], packages: ["xorg-dev", "clang-8", "g++-7"] } }
env: MATRIX_EVAL="CC=clang-8 && CXX=clang++-8"
- os: osx
osx_image: xcode9
compiler: clang
- os: osx
osx_image: xcode9.1
compiler: clang
- os: osx
osx_image: xcode9.2
compiler: clang
- os: osx
osx_image: xcode9.3
compiler: clang
- os: osx
osx_image: xcode9.4
compiler: clang
- os: osx
osx_image: xcode10
compiler: clang

View File

@@ -28,7 +28,7 @@
[flat.hpp][flat] is a header-only library. All you need to do is copy the headers files from `headers` directory into your project and include them:
```cpp
#include "flat_hpp/flat_set.hpp"
#include "flat.hpp/flat_set.hpp"
using namespace flat_hpp;
int main() {

View File

@@ -29,4 +29,11 @@ add_executable(${PROJECT_NAME} ${UNTESTS_SOURCES})
target_link_libraries(${PROJECT_NAME}
Catch2
flat.hpp)
target_compile_options(${PROJECT_NAME}
PRIVATE
$<$<CXX_COMPILER_ID:MSVC>:
/W4>
PRIVATE
$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:
-Wall -Wextra -Wpedantic>)
add_test(${PROJECT_NAME} ${PROJECT_NAME})

View File

@@ -9,7 +9,7 @@
#include <deque>
#include <flat_hpp/flat_map.hpp>
#include <flat.hpp/flat_map.hpp>
using namespace flat_hpp;
namespace

View File

@@ -9,7 +9,7 @@
#include <deque>
#include <flat_hpp/flat_multimap.hpp>
#include <flat.hpp/flat_multimap.hpp>
using namespace flat_hpp;
namespace

View File

@@ -9,7 +9,7 @@
#include <deque>
#include <flat_hpp/flat_multiset.hpp>
#include <flat.hpp/flat_multiset.hpp>
using namespace flat_hpp;
namespace

View File

@@ -9,7 +9,7 @@
#include <deque>
#include <flat_hpp/flat_set.hpp>
#include <flat.hpp/flat_set.hpp>
using namespace flat_hpp;
namespace