Method Bson.opCast
Converts the BSON value to a D value.
If the BSON type
of the value does not match the D type
, an exception is thrown.
Prototypes
T opCast(T)()() const; T get(T)()() const;
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.