[Trilinos-Users] Teuchos::RCP Call by reference
Sunghwan Choi
sunghwanchoi91 at gmail.com
Fri Aug 9 00:49:24 MDT 2013
Dear all,
I am just confused;;; I have simple question on Teuchos::RCP
Teuchos::RCP<Epetra_Vector>
Teuchos::RCP<Epetra_MultiVector> a
a=b
Can I put b on a without any conversion?
How about reverse case when I 100% sure that a->NumVectors==1?
b=a
I saw
http://trilinos.sandia.gov/packages/docs/r8.0/packages/teuchos/doc/html/clas
sTeuchos_1_1RCP.html#950c28e0c56b6f751428ad972bdcd937 page but I am not sure
I think rcp_implicit_cast is somehow link to this problem but I don't know
how to use it...
Sunghwan Choi
More information about the Trilinos-Users
mailing list