user-gcc/src/env_base.cpp
King_DuckZ 4cc1aa491e Add a still incomplete EnvReal class.
So far it allows to read and modify environment variables.
2020-04-13 14:14:35 +02:00

24 lines
844 B
C++

/* Copyright 2020, Michele Santullo
* This file is part of user-gcc.
*
* User-gcc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* User-gcc is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with user-gcc. If not, see <http://www.gnu.org/licenses/>.
*/
#include "env_base.hpp"
namespace duck {
bool EnvBase::empty() const noexcept {
return 0 == this->size();
}
} //namespace duck