The glVertex library emulates the legacy OpenGL API, which has been deprecated in OpenGL core profiles. It is also a convenience wrapper around GLSL shaders, VBOs and FBOs.
StateGL++ is an abstraction layer hiding OpenGL implementation details such as stack depths and attribute settings and allowing pushing and popping of lights and materials. With StateGL you don't have to worry about GL_MAX_*STACK_DEPTH.