Compare commits

..

2 Commits

Author SHA1 Message Date
Antony Polukhin
e37bc99e85 Modernize the alignment test 2024-01-07 14:49:28 +03:00
Antony Polukhin
43dd1e135a Update copyright years 2024-01-07 12:59:10 +03:00
35 changed files with 38 additions and 39 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 2011-2023 Antony Polukhin.
# Copyright 2011-2024 Antony Polukhin.
# Use, modification, and distribution are
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,7 +1,7 @@
[library Boost.TypeIndex
[quickbook 1.6]
[version 4.1]
[copyright 2012-2023 Antony Polukhin]
[copyright 2012-2024 Antony Polukhin]
[category Language Features Emulation]
[license
Distributed under the Boost Software License, Version 1.0.

View File

@@ -1,4 +1,4 @@
// Copyright 2013-2023 Antony Polukhin
// Copyright 2013-2024 Antony Polukhin
// Distributed under the Boost Software License, Version 1.0.
// (See the accompanying file LICENSE_1_0.txt

View File

@@ -1,4 +1,4 @@
// Copyright 2013-2023 Antony Polukhin
// Copyright 2013-2024 Antony Polukhin
// Distributed under the Boost Software License, Version 1.0.
// (See the accompanying file LICENSE_1_0.txt

View File

@@ -1,4 +1,4 @@
// Copyright 2013-2023 Antony Polukhin
// Copyright 2013-2024 Antony Polukhin
// Distributed under the Boost Software License, Version 1.0.
// (See the accompanying file LICENSE_1_0.txt

View File

@@ -1,4 +1,4 @@
// Copyright 2013-2023 Antony Polukhin
// Copyright 2013-2024 Antony Polukhin
// Distributed under the Boost Software License, Version 1.0.
// (See the accompanying file LICENSE_1_0.txt

View File

@@ -1,4 +1,4 @@
// Copyright 2013-2023 Antony Polukhin
// Copyright 2013-2024 Antony Polukhin
// Distributed under the Boost Software License, Version 1.0.
// (See the accompanying file LICENSE_1_0.txt

View File

@@ -1,4 +1,4 @@
// Copyright 2013-2023 Antony Polukhin
// Copyright 2013-2024 Antony Polukhin
// Distributed under the Boost Software License, Version 1.0.
// (See the accompanying file LICENSE_1_0.txt

View File

@@ -1,4 +1,4 @@
// Copyright 2013-2023 Antony Polukhin
// Copyright 2013-2024 Antony Polukhin
// Distributed under the Boost Software License, Version 1.0.
// (See the accompanying file LICENSE_1_0.txt

View File

@@ -1,4 +1,4 @@
// Copyright 2013-2023 Antony Polukhin
// Copyright 2013-2024 Antony Polukhin
// Distributed under the Boost Software License, Version 1.0.
// (See the accompanying file LICENSE_1_0.txt

View File

@@ -1,4 +1,4 @@
// Copyright 2013-2023 Antony Polukhin
// Copyright 2013-2024 Antony Polukhin
// Distributed under the Boost Software License, Version 1.0.
// (See the accompanying file LICENSE_1_0.txt

View File

@@ -1,5 +1,5 @@
//
// Copyright 2012-2023 Antony Polukhin.
// Copyright 2012-2024 Antony Polukhin.
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,5 +1,5 @@
//
// Copyright 2013-2023 Antony Polukhin.
// Copyright 2013-2024 Antony Polukhin.
//
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying

View File

@@ -1,5 +1,5 @@
//
// Copyright 2012-2023 Antony Polukhin.
// Copyright 2012-2024 Antony Polukhin.
//
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying

View File

@@ -1,5 +1,5 @@
//
// Copyright 2013-2023 Antony Polukhin.
// Copyright 2013-2024 Antony Polukhin.
//
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying

View File

@@ -1,5 +1,5 @@
//
// Copyright 2013-2023 Antony Polukhin.
// Copyright 2013-2024 Antony Polukhin.
//
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying

View File

@@ -1,5 +1,5 @@
//
// Copyright 2013-2023 Antony Polukhin.
// Copyright 2013-2024 Antony Polukhin.
//
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying

View File

@@ -1,5 +1,5 @@
//
// Copyright 2013-2023 Antony Polukhin.
// Copyright 2013-2024 Antony Polukhin.
//
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying

View File

@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--
Copyright 2014-2023 Antony Polukhin
Copyright 2014-2024 Antony Polukhin
antoshkka at gmail dot com
Distributed under the Boost Software License,
@@ -31,7 +31,7 @@ boost-no-inspect
<a href="../../doc/html/boost_typeindex.html">../../doc/html/boost_typeindex.html</a>
</p>
<p>
&copy; 2014-2023 Antony Polukhin
&copy; 2014-2024 Antony Polukhin
</p>
</body>
</html>

View File

@@ -1,4 +1,4 @@
# Copyright 2012-2023 Antony Polukhin
# Copyright 2012-2024 Antony Polukhin
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

View File

@@ -2,7 +2,7 @@
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
# Copyright 2016-2023 Antony Polukhin.
# Copyright 2016-2024 Antony Polukhin.
#
# See https://svn.boost.org/trac/boost/wiki/TravisCoverals for description of this file

View File

@@ -1,5 +1,5 @@
// Copyright Klemens Morgenstern, 2012-2015.
// Copyright 2019-2023 Antony Polukhin.
// Copyright 2019-2024 Antony Polukhin.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at

View File

@@ -1,5 +1,5 @@
//
// Copyright 2012-2023 Antony Polukhin.
// Copyright 2012-2024 Antony Polukhin.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at

View File

@@ -1,5 +1,5 @@
//
// Copyright 2012-2023 Antony Polukhin.
// Copyright 2012-2024 Antony Polukhin.
//
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying

View File

@@ -1,5 +1,5 @@
//
// Copyright 2012-2023 Antony Polukhin.
// Copyright 2012-2024 Antony Polukhin.
//
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying

View File

@@ -1,5 +1,5 @@
//
// Copyright 2012-2023 Antony Polukhin.
// Copyright 2012-2024 Antony Polukhin.
//
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying

View File

@@ -1,5 +1,5 @@
//
// Copyright 2012-2023 Antony Polukhin.
// Copyright 2012-2024 Antony Polukhin.
//
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying

View File

@@ -1,5 +1,5 @@
//
// Copyright 2012-2023 Antony Polukhin.
// Copyright 2012-2024 Antony Polukhin.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at

View File

@@ -1,5 +1,5 @@
//
// Copyright 2012-2023 Antony Polukhin.
// Copyright 2012-2024 Antony Polukhin.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at

View File

@@ -1,5 +1,5 @@
//
// Copyright 2018-2023 Antony Polukhin.
// Copyright 2018-2024 Antony Polukhin.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at

View File

@@ -1,5 +1,5 @@
//
// Copyright 2015-2023 Antony Polukhin.
// Copyright 2015-2024 Antony Polukhin.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at

View File

@@ -1,5 +1,5 @@
//
// Copyright 2012-2023 Antony Polukhin.
// Copyright 2012-2024 Antony Polukhin.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at

View File

@@ -1,16 +1,15 @@
//
// Copyright 2012-2023 Antony Polukhin.
// Copyright 2012-2024 Antony Polukhin.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/type_index/ctti_type_index.hpp>
#include <boost/type_traits/alignment_of.hpp>
int main() {
BOOST_STATIC_ASSERT_MSG(
boost::alignment_of<boost::typeindex::detail::ctti_data>::value == boost::alignment_of<char>::value,
static_assert(
alignof(boost::typeindex::detail::ctti_data) == alignof(char),
"Alignments of boost::typeindex::detail::ctti_data and char differ. "
"It is unsafe to reinterpret_cast between them."
);

View File

@@ -1,5 +1,5 @@
//
// Copyright 2012-2023 Antony Polukhin.
// Copyright 2012-2024 Antony Polukhin.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at

View File

@@ -1,5 +1,5 @@
//
// Copyright 2012-2023 Antony Polukhin.
// Copyright 2012-2024 Antony Polukhin.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at