// types.hh -*- C++ -*- // Copyright (C) 2025-2026 Tyler Triplett // // This program 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. // This program 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 this program. If not, see <https://www.gnu.org/licenses/>. #ifndef TYPES_HH #define TYPES_HH #include "pch.hh" #include <string> #include <utility> #include <complex> namespace ty { using Setting = std::pair<std::string, std::variant<double*, int*>>; using ColorRange = std::pair<int, int>; using Point = std::complex<double>; template <typename Ptr> using BaseT = std::remove_const_t<std::remove_pointer_t<Ptr>>; } // ty #endif // TYPES_HH