mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Issue an error in case of direct inclusion of internal headers.
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
#ifndef EIGEN_STDDEQUE_H
|
||||
#define EIGEN_STDDEQUE_H
|
||||
|
||||
#ifndef EIGEN_STDDEQUE_MODULE_H
|
||||
#error "Please include Eigen/StdDeque instead of including this file directly."
|
||||
#endif
|
||||
|
||||
#include "details.h"
|
||||
|
||||
/**
|
||||
|
||||
@@ -10,6 +10,10 @@
|
||||
#ifndef EIGEN_STDLIST_H
|
||||
#define EIGEN_STDLIST_H
|
||||
|
||||
#ifndef EIGEN_STDLIST_MODULE_H
|
||||
#error "Please include Eigen/StdList instead of including this file directly."
|
||||
#endif
|
||||
|
||||
#include "details.h"
|
||||
|
||||
/**
|
||||
|
||||
@@ -11,6 +11,10 @@
|
||||
#ifndef EIGEN_STDVECTOR_H
|
||||
#define EIGEN_STDVECTOR_H
|
||||
|
||||
#ifndef EIGEN_STDVECTOR_MODULE_H
|
||||
#error "Please include Eigen/StdVector instead of including this file directly."
|
||||
#endif
|
||||
|
||||
#include "details.h"
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user