317. An infinitive with or without a complement or modifiers, may be used as the subject of a sentence, as a predicate nominative, or as an appositive.

318. An infinitive in the predicate is often in apposition with the expletive subject it.

In this use the infinitive, though grammatically in apposition with it, is really the subject of the thought (see [§ 120, 2]).

319. The infinitive may be used as the object of the prepositions but, except, about.

Note. Can but and cannot but are distinct idioms. (1) In “I can but thank you,” but is an adverb (= only). The sentence means: “I can only thank you—simply that and nothing more!” (2) In “I cannot but thank you,” but is a preposition (= except). The idiom is shortened from “I cannot choose but thank you,”—that is, “I have no choice except to do so,” or, in other words, “I cannot help it.”

The infinitive after for (now a gross error) was once in good use: as,—

What sweeter music can we bring
Than a carol for to sing.—Herrick.