From f14228d9965be783fa821874cd2c55535eea4b19 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 19 Oct 2018 01:24:26 +0300 Subject: [PATCH] Minor README fixes --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 469fcf0..c4996bd 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,8 @@ a Boost clone or release, but the header `variant.hpp` will also work Supported compilers: -* g++ 4.8 or later with -std=c++11 or above -* clang++ 3.5 or later with -std=c++11 or above +* g++ 4.8 or later with `-std=c++11` or above +* clang++ 3.5 or later with `-std=c++11` or above * Visual Studio 2015, 2017 Tested on [Travis](https://travis-ci.org/pdimov/variant2/) and @@ -45,7 +45,7 @@ back to using double storage unless * one of the alternatives has a nonthrowing default constructor, or * all the contained types are nothrow move constructible. -If the first two bullets doesn't hold, but the third does, the variant uses +If the first two bullets don't hold, but the third does, the variant uses single storage, but `emplace` constructs a temporary and moves it into place if the construction of the object can throw. In case this is undesirable, one can force `emplace` into always constructing in-place by adding `monostate` as