MCPcopy Create free account
hub / github.com/davisking/dlib / operator--

Method operator--

dlib/bigint/bigint_kernel_1.cpp:951–965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

949// ----------------------------------------------------------------------------------------
950
951 const bigint_kernel_1 bigint_kernel_1::
952 operator-- (
953 int
954 )
955 {
956 data_record* temp; // this is the copy of temp we will return in the end
957
958 data_record* temp2 = new data_record(data->digits_used+slack);
959 decrement(data,temp2);
960
961 temp = data;
962 data = temp2;
963
964 return bigint_kernel_1(temp,0);
965 }
966
967// ----------------------------------------------------------------------------------------
968// ----------------------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

bigint_kernel_1Class · 0.85

Tested by

no test coverage detected