viennacl / viennacl-dev

Developer repository for ViennaCL. Visit http://viennacl.sourceforge.net/ for the latest releases.
Other
281 stars 89 forks source link

[Feature Request] range class modification after initialization #284

Open WenyinWei opened 4 years ago

WenyinWei commented 4 years ago

Hello Karl,

When I am utilizing the viennacl::range class to pick some parts of my code, I found that the range class only has const member functions which do not modify the instantiation. This causes some troubles when I want a flexible and concise code. Is it designed to make the instantiation const after the initialization?

Best regards, Wenyin

qalshidi commented 4 years ago

I have come across this same problem and had to work around it.