armadillo

Function rw

Synopsis

#include <armadillo/include/armadillo_bits/access.hpp>

<typename T1> static arma_inline T1& access::rw(const T1 &x)

Description

internal function to allow modification of data declared as read-only (use with caution).

Examples

//
//

Source

From lines 18-18 in include/armadillo_bits/access.hpp

template<typename T1> arma_inline static T1&  rw (const T1& x)        { return const_cast<T1& >(x); }


Discussions

There are 0 discussions relevant for this page, and 0 discussions in the whole project.




Add Discussion

Log in to comment