LOS ANGELES – Vice President Joe Biden, increasingly visible as a key presidential adviser on domestic issues, predicted on Friday that the country was moving toward a growing acceptance of gay marriage.

Speaking on ABC’s “Good Morning America,” Biden compared the nation’s changing views on gay marriage to the same changes he has seen on the military’s acceptance of gays and lesbians serving openly.

“I think the country is evolving, and I think there is an inevitability for a national consensus on gay marriage,” Biden said. Same-sex marriages can be legally performed in five states and Washington, D.C.

Biden described how he had attended meetings during which President Obama had sat down with military leaders to explain that the administration was going to push for repeal of the “don’t ask, don’t tell” policy. Under the 1993 law, gays and lesbians had to hide their sexual orientation or face dismissal from the military.

Those meetings helped prepare for the repeal of “don’t ask, don’t tell,” said Biden, who said he saw “the same thing across the country in regard to the issue of marriage.”

The law was signed this week by the president. The military is now examining how to implement the policy.

Biden said he agreed with Obama, who said at a news conference Wednesday that his position on gay marriage was evolving.