From 653a9cff46557166ba8cfb5068bd77a5c49fc6e2 Mon Sep 17 00:00:00 2001 From: "Vladimir (Alkenso)" Date: Mon, 22 Jul 2019 21:39:03 +0300 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1ce204a..a9768ba 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ # asenum -AssociatedEnum: header-only library for C++ for enumerations with associated values +**AssociatedEnum** is a header-only library for C++ for enumerations with associated values asenum is C++ implementation of very neat enums from Swift language (https://docs.swift.org/swift-book/LanguageGuide/Enumerations.html, chapter 'Associated Values'). asenum combines Enum and Variant: it allows to create lighweight wrapper around plain C++ enum and add ability to assign different value types to different cases. -Features: +## Features - each enum case can be associated with different type - values are immutable: totally thread-safe - simple and powerful interface - lightweight header-only single file library - requires only C++11 -Example: +## Example ``` #include #include