Although some compilers will allow it, the use of ``++alignof++`` with arguments that have a ``++void++`` type is forbidden by both the C and {cpp} standards.


== Noncompliant Code Example

----
void fun() {
  void* p;
  alignof(*p);  // Noncompliant
  alignof(void);  // Noncompliant
}
----



ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)

include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]
