Created on 2010-08-25.00:00:00 last changed 182 months ago
Proposed resolution:
See n3140.
[ 2010-10-24 Daniel adds: ]
Accepting n3140 would solve this issue.
[ Resolution proposed by ballot comment ]
Consider to add wording to constrain these function templates.
Addresses DE-15
Several function templates of pair and tuple allow for too many implicit conversions, for example:
#include <tuple>
std::tuple<char*> p(0); // Error?
struct A { explicit A(int){} };
A a = 1; // Error
std::tuple<A> ta = std::make_tuple(1); // OK?
		| History | |||
|---|---|---|---|
| Date | User | Action | Args | 
| 2010-11-18 14:01:09 | admin | set | status: nad editorial -> resolved | 
| 2010-11-11 03:10:11 | admin | set | status: open -> nad editorial | 
| 2010-10-25 01:00:51 | admin | set | messages: + msg5113 | 
| 2010-10-25 01:00:51 | admin | set | messages: + msg5112 | 
| 2010-10-24 23:23:18 | admin | set | messages: + msg5087 | 
| 2010-08-25 00:00:00 | admin | create | |