What does #define Terminal ((arc *) 1) mean?

arc

is a structure in maxflow , what does it mean 1

?

+3


source to share


1 answer


As maxflow.cpp

they want the pointer to Terminal

other than NULL

, they are hardly ever be a valid pointer value, and 1

is well suited for this role.



+2


source







All Articles