Variable: semantic-c-member-of-autocast

semantic-c-member-of-autocast is a customizable variable defined in c.el.gz.

Value

t

Documentation

Non-nil means classes with a -> operator will cast to its return type.

For Examples:

  class Foo {
    Bar *operator->();
  }

  Foo foo;

if semantic-c-member-of-autocast is non-nil :
  foo->[here completion will list method of Bar]

if semantic-c-member-of-autocast is nil :
  foo->[here completion will list method of Foo]

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/c.el.gz
(defcustom semantic-c-member-of-autocast 't
  "Non-nil means classes with a `->' operator will cast to its return type.

For Examples:

  class Foo {
    Bar *operator->();
  }

  Foo foo;

if `semantic-c-member-of-autocast' is non-nil :
  foo->[here completion will list method of Bar]

if `semantic-c-member-of-autocast' is nil :
  foo->[here completion will list method of Foo]"
  :group 'c
  :type 'boolean)