Any.cpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /**
  2. * @file artis/kernel/Any.hpp
  3. * @author See the AUTHORS file
  4. */
  5. /*
  6. * Copyright (C) 2012-2019 ULCO http://www.univ-littoral.fr
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. */
  21. #include <artis/kernel/Any.hpp>
  22. namespace artis {
  23. namespace kernel {
  24. // context::Value find_not_null_value::operator()(
  25. // const context::Value& left,
  26. // const context::Value& right) const
  27. // {
  28. // if (not left.empty()) {
  29. // return left;
  30. // } else if (not right.empty()) {
  31. // return right;
  32. // } else {
  33. // return context::Value();
  34. // }
  35. // }
  36. }
  37. }