Hi,

The following code is automatically indented with vim. The label
'there' starts from the beginning of the line. What is the general C++
code style guide line for labels. Shall labels be indented same as
other statements?

Thanks,
Peng

#include <iostream>

int main () {
  goto there;
  std::cout << "here" << std::endl;

there:// shall this be indented same as the below line?
  std::cout << "there" << std::endl;
}
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to