Actually, the factory method is a way of circumventing following limitations of C++ constructor: 1  No return type. A constructor cannot return a result, which means that we cannot signal an error during object initialization. 2  Naming.
The average age of participants when they moved to a nursing home was about 83. The average length of stay before death was 13.7 months, while the median was five months.Fifty-three percent of nursing home residents in the study died within six months.he average length of stay before death was 13.7 months, while the median was five months. Fifty-three percent of nursing home residents in the study died within six months.
The length of stay data were striking: the median length of stay in a nursing home before death was 5 months. the average length of stay was longer at 14 months due to a small number of study participants who had very long lengths of stay. 65% died within 1 year of nursing home admission. 53% died within 6 months of nursing home admission.