mnmlstc/core — pull request #23 by toffaletti (2014-07-26 00:41:42+00:00)
Title: Fix storage move constructor

Stop compiler from thinking we're trying to use an initializer list

Repro:
```
#include

struct A {};

core::optional foo() {
return core::nullopt;
}

int main() {
const auto a = foo();
}
```

```
g++ -std=c++11 const.cc
In file included from const.cc:1:0:
/usr/include/core/optional.hpp: In instantiation of ‘core::v1::impl::storage::storage(core::v1::impl::storage&&) [with T = A]’:
/usr/include/core/optional.hpp:193:3: required from here
/usr/include/core/optional.hpp:108:5: error: could not convert ‘{core::v1::move((* & that.core::v1::impl::storage::.core::v1::impl::storage::::val))}’ from ‘’ to ‘core::v1::impl::storage::value_type {aka A}’
::new(::std::addressof(this->val)) value_type {
^
```