I've been reading the book Chemistry: Core Concepts by Allan Blackman, Daniel Southam, Gwendolyn Lawrie, Natalie Williamson, Christopher Thompson and Adam Bridgeman. They give the following definition for standard enthalpy of reaction:
The standard enthalpy of reaction ($\Delta_r H^\circ$) at temperature $T$ is the value of $\Delta H$ for a reaction in which the pure, separated reactants in their standard states are converted to the pure separated products in their standard states, all at temperature $T$, and in which the stoichiometric coefficients in the balanced chemical equation refer to actual number of moles.
The theoretical justification for this definition isn't clear to me. With this definition, would the standard enthalpy of reaction be equal to the heat absorbed or released during the reaction? In other words, can the standard enthalpy of reaction be measured by just measuring the heat absorbed or released during the reaction? I'm particularly confused regarding cases where you have more than one gas involved in the reactants as well as in the products.