Name |
Description |
operator!=
|
Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. A nullable object and a value of some type do not have the same value if either the nullable object is null, or its underlying value does not compare equal to the other value. Note that this function will fail to compile if LHS_TYPE and RHS_TYPE are not compatible. |
operator!=
|
Return true if the specified lhs and rhs nullable objects do not have the same value, and false otherwise. Two nullable objects do not have the same value if one is null and the other is non‐null, or if both are non‐null and the values of their underlying objects do not compare equal. Note that this function will fail to compile if LHS_TYPE and RHS_TYPE are not compatible. |
operator!=
|
Return true if the specified lhs is not null, and false otherwise. |
operator!=
|
If neither of the specified lhs and rhs contain a value, return false. If one contains a value, and the other does not, return true. Otherwise, return lhs.value != rhs.value(). |
operator<
|
Return false. Note that bsl::nullopt never orders after a NullableAllocatedValue. |
operator<
|
If neither of the specified lhs and rhs contain a value, return false. If lhs contains a value, and rhs does not, return false. If lhs does not contains a value, rhs does, return true. Otherwise, return lhs.value < rhs.value(). |
operator<
|
Return true if the specified lhs nullable object is ordered before the specified rhs, and false otherwise. lhs is ordered before rhs if lhs is null or lhs.value() is ordered before rhs. |
operator<
|
Return true if the specified lhs nullable object is ordered before the specified rhs nullable object, and false otherwise. lhs is ordered before rhs if lhs is null and rhs is non‐null or if both are non‐null and lhs.value() is ordered before rhs.value(). Note that this function will fail to compile if LHS_TYPE and RHS_TYPE are not compatible. |
operator<=
|
Return true if the specified lhs is null, and false otherwise. |
operator<=
|
Return true if the specified lhs nullable object is ordered before the specified rhs nullable object or lhs and rhs have the same value, and false otherwise. (See operator< and operator==.) Note that this operator returns !(rhs < lhs) when both operands are of NullableValue type. Also note that this function will fail to compile if LHS_TYPE and RHS_TYPE are not compatible. |
operator<=
|
If neither of the specified lhs and rhs contain a value, return true. If lhs contains a value, and rhs does not, return false. If lhs does not contains a value, rhs does, return true. Otherwise, return lhs.value <= rhs.value(). |
operator<=
|
Return true if the specified lhs nullable object is ordered before the specified rhs or lhs and rhs have the same value, and false otherwise. (See operator< and operator==.) Note that this operator returns !(rhs < lhs). |
operator==
|
If neither of the specified lhs and rhs contain a value, return true. If one contains a value, and the other does not, return false. Otherwise, return lhs.value == rhs.value(). |
operator==
|
Return true if the specified lhs is null, and false otherwise. |
operator==
|
Return true if the specified lhs and rhs objects have the same value, and false otherwise. A nullable object and a value of some type have the same value if the nullable object is non‐null and its underlying value compares equal to the other value. Note that this function will fail to compile if LHS_TYPE and RHS_TYPE are not compatible. |
operator==
|
Return true if the specified lhs and rhs nullable objects have the same value, and false otherwise. Two nullable objects have the same value if both are null, or if both are non‐null and the values of their underlying objects compare equal. Note that this function will fail to compile if LHS_TYPE and RHS_TYPE are not compatible. |
operator>
|
Return true if the specified lhs nullable object is ordered after the specified rhs, and false otherwise. lhs is ordered after rhs if lhs is not null and lhs.value() is ordered after rhs. Note that this operator returns rhs < lhs. |
operator>
|
Return true if the specified lhs nullable object is ordered after the specified rhs nullable object, and false otherwise. lhs is ordered after rhs if lhs is non‐null and rhs is null or if both are non‐null and lhs.value() is ordered after rhs.value(). Note that this operator returns rhs < lhs when both operands are of NullableValue type. Also note that this function will fail to compile if LHS_TYPE and RHS_TYPE are not compatible. |
operator>
|
If neither of the specified lhs and rhs contain a value, return false. If lhs contains a value, and rhs does not, return true. If lhs does not contains a value, rhs does, return false. Otherwise, return lhs.value > rhs.value(). |
operator>
|
Return true if the specified lhs is not null, and false otherwise. |
operator>=
|
Return true. |
operator>=
|
Return true if the specified lhs nullable object is ordered after the specified rhs nullable object or lhs and rhs have the same value, and false otherwise. (See operator> and operator==.) Note that this operator returns !(lhs < rhs) when both operands are of NullableValue type. Also note that this function will fail to compile if LHS_TYPE and RHS_TYPE are not compatible. |
operator>=
|
If neither of the specified lhs and rhs contain a value, return true. If lhs contains a value, and rhs does not, return true. If lhs does not contains a value, rhs does, return false. Otherwise, return lhs.value >= rhs.value(). |
operator>=
|
Return true if the specified lhs nullable object is ordered after the specified rhs or lhs and rhs have the same value, and false otherwise. (See operator> and operator==.) Note that this operator returns !(lhs < rhs). |
swap
|
Exchange the values of the specified a and b objects. This function provides the no‐throw exception‐safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise. |
::BloombergLP::bdlat_NullableValueFunctions::bdlat_nullableValueAccessValue
|
Default customization‐point implementation of accessValue for bdlb::NullableAllocatedValue. |
::BloombergLP::bdlat_NullableValueFunctions::bdlat_nullableValueIsNull
|
Default customization‐point implementation of isNull for bdlb::NullableAllocatedValue. |
::BloombergLP::bdlat_NullableValueFunctions::bdlat_nullableValueMakeValue
|
Default customization‐point implementation of makeValue for bdlb::NullableAllocatedValue. |
::BloombergLP::bdlat_NullableValueFunctions::bdlat_nullableValueManipulateValue
|
Default customization‐point implementation of manipulateValue for bdlb::NullableAllocatedValue. |