From 61d7f651e19363f9d8b13dea78cc4d0f5950ad9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Wed, 26 Sep 2018 01:07:01 +0200 Subject: [PATCH] Add equal transparent --- test/check_equal_containers.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/check_equal_containers.hpp b/test/check_equal_containers.hpp index e9b6607..80a35da 100644 --- a/test/check_equal_containers.hpp +++ b/test/check_equal_containers.hpp @@ -119,6 +119,17 @@ struct less_transparent } }; +struct equal_transparent +{ + typedef void is_transparent; + + template + bool operator()(const T &t, const U &u) const + { + return t == u; + } +}; + } //namespace test{ } //namespace container { } //namespace boost{