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

Method operator--

dlib/bigint/bigint_kernel_2.cpp:952–966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

bigint_kernel_2Class · 0.85

Tested by

no test coverage detected