mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Remove dead code, commented-out blocks, and outdated comments
libeigen/eigen!2172 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
@@ -80,7 +80,6 @@ class MaxSizeVector {
|
||||
new (&m_data[m_size++]) T(t);
|
||||
}
|
||||
|
||||
// For C++03 compatibility this only takes one argument
|
||||
template <class X>
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void emplace_back(const X& x) {
|
||||
eigen_assert(m_size < m_reserve);
|
||||
|
||||
@@ -425,12 +425,6 @@ struct scalar_product_traits {
|
||||
enum { Defined = 0 };
|
||||
};
|
||||
|
||||
// FIXME quick workaround around current limitation of result_of
|
||||
// template<typename Scalar, typename ArgType0, typename ArgType1>
|
||||
// struct result_of<scalar_product_op<Scalar>(ArgType0,ArgType1)> {
|
||||
// typedef typename scalar_product_traits<remove_all_t<ArgType0>, remove_all_t<ArgType1>>::ReturnType type;
|
||||
// };
|
||||
|
||||
/** \internal Obtains a POD type suitable to use as storage for an object of a size
|
||||
* of at most Len bytes, aligned as specified by \c Align.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user