• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2018 Mateusz Loskot <mateusz at loskot dot net>
3 //
4 // Distributed under the Boost Software License, Version 1.0
5 // See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt
7 //
8 #include <boost/gil/point.hpp>
9 
10 #include <type_traits>
11 
12 namespace gil = boost::gil;
13 
14 struct FakeMatrix {};
15 
main()16 int main()
17 {
18     gil::point<int> p1{2, 4};
19 
20     FakeMatrix m1;
21     auto r1 = p1 * m1;
22     auto r2 = m1 * p1;
23 }
24