LoginSignup
0
0

More than 5 years have passed since last update.

Cxx.jl: インスタンスにconstが付く時とつかない時

Last updated at Posted at 2016-01-26

以下の様に書くとconstがつく:

julia> icxx"Eigen::Affine3f::Identity();"
(const class Eigen::Transform<float, 3, 2, 0>) {
}

constが付かない:

julia> icxx"Eigen::Affine3f trans = Eigen::Affine3f::Identity(); return trans;"
(class Eigen::Transform<float, 3, 2, 0>) {
}

はまった・・・

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0