]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/qvm/test/access_m_fail1.cpp
1 // Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc.
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #include <boost/qvm/mat_access.hpp>
8 template <int R
,int C
> struct my_mat
{ };
16 template <int R
,int C
>
18 mat_traits
< my_mat
<R
,C
> >
20 typedef int scalar_type
;
21 static int const rows
=R
;
22 static int const cols
=C
;
23 template <int Row
,int Col
> static int read_element( my_mat
<R
,C
> const & );
24 template <int Row
,int Col
> static int & write_element( my_mat
<R
,C
> & );
32 using namespace boost::qvm
;
33 my_mat
<1,1> const m
=my_mat
<1,1>();