mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
5e28c41549
Create a new directory CXX11 under unsupported/Eigen that contains code that requires C++11. In that directory, add a few generic templates useful for any module relying on C++11. These templates may be included with #include <[unsupported/]Eigen/CXX11/Core>. At the moment, this will only provide templates in the Eigen::internal namespace.
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
// This file is part of Eigen, a lightweight C++ template library
|
|
// for linear algebra.
|
|
//
|
|
// Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr>
|
|
// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
|
|
//
|
|
// This Source Code Form is subject to the terms of the Mozilla
|
|
// Public License v. 2.0. If a copy of the MPL was not distributed
|
|
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
#ifndef EIGEN_CXX11_CORE_MODULE
|
|
#define EIGEN_CXX11_CORE_MODULE
|
|
|
|
#include <Eigen/Core>
|
|
|
|
#include <Eigen/src/Core/util/DisableStupidWarnings.h>
|
|
|
|
/** \defgroup CXX11_Core_Module C++11 Core Module
|
|
*
|
|
* This module provides common core features for all modules that
|
|
* explicitly depend on C++11. Currently, this is only the Tensor
|
|
* module. Note that at this stage, you should not need to include
|
|
* this module directly.
|
|
*
|
|
* \code
|
|
* #include <Eigen/CXX11/Core>
|
|
* \endcode
|
|
*/
|
|
|
|
#include <array>
|
|
|
|
#include "src/Core/util/CXX11Workarounds.h"
|
|
#include "src/Core/util/CXX11Meta.h"
|
|
|
|
#include <Eigen/src/Core/util/ReenableStupidWarnings.h>
|
|
|
|
#endif // EIGEN_CXX11_CORE_MODULE
|
|
|
|
/*
|
|
* kate: space-indent on; indent-width 2; mixedindent off; indent-mode cstyle;
|
|
*/
|