Color setting operators

This commit is contained in:
Jakub Melka
2019-02-17 18:01:22 +01:00
parent 8e766376bc
commit 57a9582ffd
5 changed files with 886 additions and 109 deletions

View File

@ -49,9 +49,9 @@ public:
}
template<typename... Arguments, typename std::enable_if<sizeof...(Arguments) < FlatSize, int>::type = 0>
template<typename... Arguments, typename std::enable_if<sizeof...(Arguments) <= FlatSize, int>::type = 0>
explicit inline PDFFlatArray(Arguments... arguments) :
m_flatBlock(arguments...),
m_flatBlock({ arguments... }),
m_flatBlockEndIterator(std::next(m_flatBlock.begin(), sizeof...(Arguments))),
m_variableBlock()
{