Commit 37c450fe by piiswrong Committed by Tianqi Chen

remove limit on simple type

parent 061285b1
......@@ -31,9 +31,6 @@ typedef uint32_t index_t;
template<typename ValueType>
class Tuple {
public:
// Tuple requires the content to be simple data type.
static_assert(std::is_pod<ValueType>::value,
"Tuple only support simple data type like int");
/*! \brief default constructor */
Tuple() = default;
/*! \brief destructor */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment