[eigen] private copy ctors |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] private copy ctors
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Sat, 12 Dec 2009 12:47:12 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=O3uyYBgGtXHriLl9L9hTaTiFS95bGYFd3cgx5C4RaIA=; b=QguX45jrb0aDoOL3NyQJogLbCf4NR73KgAwoFqGjQrx9Vqujeo7nyT4x8ReNw1dz0Q o5RNtpyziDQwlCU7hXrKkZdei15/ZqJhHxStpCIRaczUmE1FZgnNNF7kuv2MMcfKw5bP JfxiKLtIH6bbvBqzqFTUJHEM+nsN9jKzL7Yq0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pQK3prVOFD66/QqDMTkC6CXxNjjcw9Epy0lmBVQWpr2Jsoq2G1XKvSxs7EmTrdIu8j dssOjM4/RyCcWeYauNgHOr3WjF+5jyJSnb4M1/RWQQnBem6tPHcPTqkTliyae3uqALdP 6OKi4zxpAaWqAXLsDtjWo3HJXilhoJjloQEXI=
Hi,
this is about Hauke's changeset c2937e22f0aa.
https://bitbucket.org/eigen/eigen/changeset/c2937e22f0aa/
It adds private copy ctors a bit everywhere.
I would be interested in some rationalization for that:
- what warnings does it fix? (what were these warnings saying)
- why is it OK to have the copy ctors private? Doesnt it prevent one
from making copies?
I'm probably missing something obvious!!
Benoit