C++ code to determine if Rd fragment is complete.
#183