File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Copyright (C) 2016-2017 Jonathan Müller <jonathanmueller.dev@gmail.com>
1+ # Copyright (C) 2016-2018 Jonathan Müller <jonathanmueller.dev@gmail.com>
22# This file is subject to the license terms in the LICENSE file
33# found in the top-level directory of this distribution.
44
@@ -61,7 +61,7 @@ set(debug_assert_LIBRARIES debug_assert)
6161
6262write_basic_package_version_file (
6363 ${CMAKE_CURRENT_BINARY_DIR} /debug_assert-config-version.cmake
64- VERSION 1.1
64+ VERSION 1.3. 1
6565 COMPATIBILITY SameMajorVersion
6666)
6767
Original file line number Diff line number Diff line change 1- Copyright (C) 2016-2017 Jonathan Müller <jonathanmueller.dev@gmail.com>
1+ Copyright (C) 2016-2018 Jonathan Müller <jonathanmueller.dev@gmail.com>
22
33This software is provided 'as-is', without any express or
44implied warranty. In no event will the authors be held
Original file line number Diff line number Diff line change 1- # debug_assert [ ![ Download] ( https://api.bintray.com/packages/manu343726/conan-packages/debug_assert%3AManu343726/images/download.svg ) ] ( https://bintray.com/manu343726/conan-packages/debug_assert%3AManu343726/_latestVersion )
1+ # debug_assert[ ![ Download] ( https://api.bintray.com/packages/manu343726/conan-packages/debug_assert%3AManu343726/images/download.svg ) ] ( https://bintray.com/manu343726/conan-packages/debug_assert%3AManu343726/_latestVersion )
22
33debug_assert is a simple, C++11, header-only library that provides a very flexible ` DEBUG_ASSERT() ` macro.
44How many times did you write an assertion macro yourself, because ` assert() ` is controlled globally and cannot be enabled for certain parts of the program only?
@@ -69,17 +69,17 @@ The options are named like the macros.
6969namespace <a href =' doc_debug_assert.md#debug_assert.hpp ' >debug_assert</a >
7070{
7171 struct <a href =' doc_debug_assert.md#debug_assert::source_location ' >source_location</a >;
72-
72+
7373 template < ; unsigned Level> ;
7474 struct <a href =' doc_debug_assert.md#debug_assert::level-Level- ' >level</a >;
75-
75+
7676 template < ; unsigned Level> ;
7777 struct <a href =' doc_debug_assert.md#debug_assert::set_level-Level- ' >set_level</a >;
78-
78+
7979 struct <a href =' doc_debug_assert.md#debug_assert::allow_exception ' >allow_exception</a >;
80-
80+
8181 struct <a href =' doc_debug_assert.md#debug_assert::no_handler ' >no_handler</a >;
82-
82+
8383 struct <a href =' doc_debug_assert.md#debug_assert::default_handler ' >default_handler</a >;
8484}</code ></pre >
8585
@@ -125,7 +125,7 @@ It will only check the assertion if `<level>` is less than or equal to `Handler:
125125<pre ><code class =" language-cpp " >struct source_location
126126{
127127 const char* <a href =' doc_debug_assert.md#debug_assert::source_location ' >file_name</a >;
128-
128+
129129 unsigned <a href =' doc_debug_assert.md#debug_assert::source_location::line_number ' >line_number</a >;
130130};</code ></pre >
131131
Original file line number Diff line number Diff line change 66class DebugAssert (ConanFile ):
77 name = 'debug_assert'
88 url = 'https://foonathan.github.io/blog/2016/09/16/assertions.html'
9- version = '1.3'
9+ version = '1.3.1 '
1010 exports = '*.hpp'
1111 generators = 'cmake'
1212
Original file line number Diff line number Diff line change 11// ======================================================================//
2- // Copyright (C) 2016-2017 Jonathan Müller <jonathanmueller.dev@gmail.com>
2+ // Copyright (C) 2016-2018 Jonathan Müller <jonathanmueller.dev@gmail.com>
33//
44// This software is provided 'as-is', without any express or
55// implied warranty. In no event will the authors be held
@@ -120,7 +120,7 @@ namespace debug_assert
120120 };
121121
122122 template <unsigned Level>
123- const unsigned set_level<Level>::level;
123+ const unsigned set_level<Level>::level;
124124
125125 // / Helper class that controls whether the handler can throw or not.
126126 // / Inherit from it in your module handler.
Original file line number Diff line number Diff line change 1- # debug_assert [ ![ badge ] ( https://img.shields.io/badge/ conan.io- debug_assert%2F1.0-green.svg?logo=data:image/png;base64%2CiVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAMAAAAolt3jAAAA1VBMVEUAAABhlctjlstkl8tlmMtlmMxlmcxmmcxnmsxpnMxpnM1qnc1sn85voM91oM11oc1xotB2oc56pNF6pNJ2ptJ8ptJ8ptN9ptN8p9N5qNJ9p9N9p9R8qtOBqdSAqtOAqtR%2BrNSCrNJ/rdWDrNWCsNWCsNaJs9eLs9iRvNuVvdyVv9yXwd2Zwt6axN6dxt%2Bfx%2BChyeGiyuGjyuCjyuGly%2BGlzOKmzOGozuKoz%2BKqz%2BOq0OOv1OWw1OWw1eWx1eWy1uay1%2Baz1%2Baz1%2Bez2Oe02Oe12ee22ujUGwH3AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfgBQkREyOxFIh/AAAAiklEQVQI12NgAAMbOwY4sLZ2NtQ1coVKWNvoc/Eq8XDr2wB5Ig62ekza9vaOqpK2TpoMzOxaFtwqZua2Bm4makIM7OzMAjoaCqYuxooSUqJALjs7o4yVpbowvzSUy87KqSwmxQfnsrPISyFzWeWAXCkpMaBVIC4bmCsOdgiUKwh3JojLgAQ4ZCE0AMm2D29tZwe6AAAAAElFTkSuQmCC )] ( http ://www.conan.io/source/ debug_assert/1.0/Manu343726/testing )
1+ # debug_assert[ ![ Download ] ( https://api.bintray.com/packages/manu343726/ conan-packages/ debug_assert%3AManu343726/images/download.svg ) ] ( https ://bintray.com/manu343726/conan-packages/ debug_assert%3AManu343726/_latestVersion )
22
33debug_assert is a simple, C++11, header-only library that provides a very flexible ` DEBUG_ASSERT() ` macro.
44How many times did you write an assertion macro yourself, because ` assert() ` is controlled globally and cannot be enabled for certain parts of the program only?
You can’t perform that action at this time.
0 commit comments