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.

struct Bson
const
T
opCast
(
T
)
()

Meta