1 // Copyright 2018 Peter Dimov 2 // Distributed under the Boost Software License, Version 1.0. 3 // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt 4 5 #include <boost/mp11.hpp> 6 using namespace boost::mp11; 7 main()8int main() 9 { 10 using L1 = mp_list<int, float, int, float>; 11 return mp_size<mp_unique<L1>>::value == 2? 0: 1; 12 } 13