mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
ircd::js: Relax value construction from host types.
This commit is contained in:
parent
5069df70c0
commit
9a0753d7f8
2 changed files with 6 additions and 5 deletions
|
@ -45,11 +45,11 @@ struct value
|
|||
|
||||
value(const char *const &);
|
||||
explicit value(const std::string &);
|
||||
explicit value(const nullptr_t &);
|
||||
explicit value(const double &);
|
||||
explicit value(const float &);
|
||||
explicit value(const int32_t &);
|
||||
explicit value(const bool &);
|
||||
value(const nullptr_t &);
|
||||
value(const double &);
|
||||
value(const float &);
|
||||
value(const int32_t &);
|
||||
value(const bool &);
|
||||
|
||||
value(const jsid &);
|
||||
value(JSObject &);
|
||||
|
|
|
@ -41,6 +41,7 @@ namespace asio {
|
|||
|
||||
namespace ircd
|
||||
{
|
||||
using std::nullptr_t;
|
||||
using std::begin;
|
||||
using std::end;
|
||||
using std::get;
|
||||
|
|
Loading…
Reference in a new issue