Ported more options in new ini-manager. Use later.

This commit is contained in:
O1L 2015-10-25 18:44:49 +04:00
parent 1673ba217c
commit 89f14ec5ac
9 changed files with 653 additions and 52 deletions

View file

@ -105,6 +105,13 @@ public:
return *this;
}
template<typename T2>
entry& operator = (const T2& new_value)
{
value(static_cast<T>(new_value));
return *this;
}
explicit operator const T&() const
{
return m_value;