Richard,
I think 94454 is a P1. We have an inconsistency between specialization
hasher and equality. arguments may compare equal but hash differently.
nathan
--
Nathan Sidwell
On 11/22/2016 02:26 PM, Nathan Sidwell wrote:
template
void for2 (T &v)
{
}
void Foo ()
{
auto lam_1 = [](int &) { };
auto lam_2 = [](auto &) { }; // IIUC this is implicitly templatey
for2 (lam_1);
for2 (lam_2); // What is the lambda's argument type?
}
We get 2 insta
function's type. (I've not
looked at pt.c yet)
Is that second call of for2 illformed?
nathan
--
Nathan Sidwell
ked
yesterday.
What's up?
nathan
--
Nathan Sidwell:: http://www.codesourcery.com :: CodeSourcery LLC
[EMAIL PROTECTED]:: http://www.planetfall.pwp.blueyonder.co.uk
iterator ei ends up with
a stale pointer.
If edge vectors can be reallocated in such loops, then the iterators need
redesigning.
nathan
--
Nathan Sidwell:: http://www.codesourcery.com :: CodeSourcery LLC
[EMAIL PROTECTED]:: http://www.planetfall.pwp.blueyonder.co.uk
to be more precise, but I guess *you* know what I mean)
nathan
--
Nathan Sidwell:: http://www.codesourcery.com :: CodeSourcery LLC
The voices in my head said this was stupid too
[EMAIL PROTECTED] : http://www.cs.bris.ac.uk/~nathan/ : [EMAIL PROTECTED]