Any marriage between two Hindus solemnized after the commencement of this Act is void if at the date of such marriage either party had a husband or wife living; and the provisions of sections 494 and 495 of the Indian Penal Code, 1860 (45 of 1860), shall apply accordingly.