Dean Moldovan 4de271027d Improve consistency of array and array_t with regard to other pytypes
* `array_t(const object &)` now throws on error
* `array_t::ensure()` is intended for casters —- old constructor is
  deprecated
* `array` and `array_t` get default constructors (empty array)
* `array` gets a converting constructor
* `py::isinstance<array_T<T>>()` checks the type (but not flags)

There is only one special thing which must remain: `array_t` gets
its own `type_caster` specialization which uses `ensure` instead
of a simple check.
2016-11-17 08:55:42 +01:00
..
2016-09-06 13:02:29 +09:00
2016-08-19 13:19:38 +02:00
2016-09-06 13:02:29 +09:00
2016-11-16 17:28:11 +01:00
2016-11-16 17:28:11 +01:00
2016-08-19 13:19:38 +02:00
2016-10-11 22:13:02 +02:00