faithandbrave/OvenToBoost — Issue #1: ambiguous make_shared in memoized
Author: Answeror
Created: 2011-12-01 03:18:46+00:00
State: open

Following code will cause "error C2668: 'boost::make_shared' : ambiguous call to overloaded function" under VS2010 SP1.

```c++
#include
#include

int foo()
{
std::vector a;
auto b = a | boost::adaptors::memoized;
}
```